-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnet.blockbench.Blockbench.yaml
More file actions
63 lines (58 loc) · 2.22 KB
/
net.blockbench.Blockbench.yaml
File metadata and controls
63 lines (58 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
app-id: net.blockbench.Blockbench
base: org.electronjs.Electron2.BaseApp
base-version: '25.08'
runtime: org.freedesktop.Platform
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
command: blockbench-run
separate-locales: false
finish-args:
- --device=dri
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=wayland
- --socket=fallback-x11
- --filesystem=xdg-desktop
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-pictures
- --filesystem=xdg-public-share
- --filesystem=xdg-videos
- --talk-name=org.freedesktop.ScreenSaver
- --talk-name=org.freedesktop.Notifications
modules:
- name: blockbench
buildsystem: simple
build-commands:
- chmod +x blockbench.AppImage
- ./blockbench.AppImage --appimage-extract
- rm blockbench.AppImage
- cp squashfs-root/blockbench.desktop net.blockbench.Blockbench.desktop
- desktop-file-edit --set-icon net.blockbench.Blockbench --set-key Exec --set-value
'blockbench-run %u' net.blockbench.Blockbench.desktop
- install -D blockbench-run -t /app/bin
- install -Dm644 net.blockbench.Blockbench.metainfo.xml -t /app/share/metainfo
- install -Dm644 net.blockbench.Blockbench.desktop -t /app/share/applications
- install -Dm644 net.blockbench.Blockbench.png -t /app/share/icons/hicolor/512x512/apps
- mv squashfs-root /app/bin/Blockbench
sources:
- type: script
dest-filename: blockbench-run
commands:
- zypak-wrapper /app/bin/Blockbench/blockbench "$@"
- type: file
path: net.blockbench.Blockbench.metainfo.xml
- type: file
path: net.blockbench.Blockbench.png
- type: file
dest-filename: blockbench.AppImage
url: https://github.com/JannisX11/blockbench/releases/download/v5.1.3/Blockbench_5.1.3.AppImage
sha256: 0f8362b5da7a4830a47834ba2e94542dcc2a725b714473d2eba7e4a7b0a435df
x-checker-data:
type: json
url: https://api.github.com/repos/JannisX11/blockbench/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name|match("Blockbench_.*\\.AppImage")) |
.browser_download_url