forked from flathub/org.flarerpg.Flare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.flarerpg.Flare.yaml
44 lines (42 loc) · 1.36 KB
/
org.flarerpg.Flare.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
app-id: org.flarerpg.Flare
rename-desktop-file: flare.desktop
rename-icon: flare
runtime: org.freedesktop.Platform
runtime-version: '18.08'
sdk: org.freedesktop.Sdk
command: flare.sh
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --socket=x11
- --share=ipc
- --socket=pulseaudio
- --device=dri
cleanup:
- /app/games
- /app/lib/debug
- /app/share/man
modules:
- name: flare-engine
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/flareteam/flare-engine/archive/v1.09.01.tar.gz
sha256: c6d56c7e379a3757fdb3eb20a2a032199bfaf47325a748cece997a8a21b9e3fc
post-install:
- mkdir /app/bin
- mv /app/games/flare /app/bin
- "for size in 16 24 32 48 64 128 256; do\n
rsvg-convert -w $size -h $size -f png -o $size.png distribution/flare_logo.svg\n
install -Dm644 $size.png /app/share/icons/hicolor/${size}x${size}/apps/org.flarerpg.Flare.png\n
done"
- name: flare-game
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/flareteam/flare-game/archive/v1.09.01.tar.gz
sha256: 47d48bc049e9f4facc83bc36e0e7d4c8d02e09000af64ebb2d76efc68ff0d004
post-install:
- echo "flare --mods=fantasycore,empyrean_campaign --data-path=/app/share/games/flare" > /app/bin/flare.sh
- chmod +x /app/bin/flare.sh
- desktop-file-edit --set-key=Exec --set-value=flare.sh /app/share/applications/flare.desktop