-
Notifications
You must be signed in to change notification settings - Fork 12
/
com.shatteredpixel.shatteredpixeldungeon.yaml
73 lines (68 loc) · 3.25 KB
/
com.shatteredpixel.shatteredpixeldungeon.yaml
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
64
65
66
67
68
69
70
71
72
73
app-id: com.shatteredpixel.shatteredpixeldungeon
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: com.shatteredpixel.shatteredpixeldungeon.sh
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk11
finish-args:
- --socket=wayland
- --socket=x11
- --share=ipc
- --device=all
- --env=PATH=/usr/bin:/app/bin:/app/jre/bin
- --socket=pulseaudio
- --share=network
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk11/install.sh
- name: xrandr
sources:
- type: archive
url: https://xorg.freedesktop.org/archive/individual/app/xrandr-1.5.0.tar.gz
sha256: ddfe8e7866149c24ccce8e6aaa0623218ae19130c2859cadcaa4228d8bb4a46d
- name: shatteredpixeldungeon
buildsystem: simple
build-commands:
- install -Dm755 ${FLATPAK_ID}.sh -t /app/bin
- install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo
- install -Dm644 ${FLATPAK_ID}.jar -t /app/share/${FLATPAK_ID}
- install -Dm644 icon_16.png /app/share/icons/hicolor/16x16/apps/${FLATPAK_ID}.png
- install -Dm644 icon_32.png /app/share/icons/hicolor/32x32/apps/${FLATPAK_ID}.png
- install -Dm644 icon_64.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
- install -Dm644 icon_128.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -Dm644 icon_256.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
sources:
- type: file
url: https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v2.5.4/ShatteredPD-v2.5.4-Java.jar
sha256: 58287b48834af949b6f6c99bc721a81a861b9b7b6b0aca5dbeb2627c669269a8
dest-filename: com.shatteredpixel.shatteredpixeldungeon.jar
- type: file
path: com.shatteredpixel.shatteredpixeldungeon.sh
- type: file
path: com.shatteredpixel.shatteredpixeldungeon.desktop
- type: file
path: com.shatteredpixel.shatteredpixeldungeon.metainfo.xml
- type: file
url: https://github.com/00-Evan/shattered-pixel-dungeon/raw/47d9f3219d5eb0f3f7482b78b9e05334f3de0040/desktop/src/main/assets/icons/icon_16.png
sha256: 346204f441329df848161554c62a13bff1a8a67861b0dc5456e19e865830d598
dest-filename: icon_16.png
- type: file
url: https://github.com/00-Evan/shattered-pixel-dungeon/raw/47d9f3219d5eb0f3f7482b78b9e05334f3de0040/desktop/src/main/assets/icons/icon_32.png
sha256: d64be318c9ca7cc40d6d270d5c28b067245e21b52304631c1480d4efb1fe5f52
dest-filename: icon_32.png
- type: file
url: https://github.com/00-Evan/shattered-pixel-dungeon/raw/47d9f3219d5eb0f3f7482b78b9e05334f3de0040/desktop/src/main/assets/icons/icon_64.png
sha256: e556d143ea9269b3a2ec2267170f12365ce81b0cd7a91cac6dd3c61a3e88ba62
dest-filename: icon_64.png
- type: file
url: https://github.com/00-Evan/shattered-pixel-dungeon/raw/47d9f3219d5eb0f3f7482b78b9e05334f3de0040/desktop/src/main/assets/icons/icon_128.png
sha256: eeb3a5230003704752bc24beb91aa0a3a269f57bb61f4445ffc8751674d00879
dest-filename: icon_128.png
- type: file
url: https://github.com/00-Evan/shattered-pixel-dungeon/raw/47d9f3219d5eb0f3f7482b78b9e05334f3de0040/desktop/src/main/assets/icons/icon_256.png
sha256: 00962b4d99401827b24bce91bc76672ee69380d075085f6d5148a085d7badcb5
dest-filename: icon_256.png