forked from flathub/org.flarerpg.Flare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.flarerpg.Flare.yaml
52 lines (50 loc) · 1.76 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
45
46
47
48
49
50
51
52
app-id: org.flarerpg.Flare
rename-desktop-file: flare.desktop
rename-icon: flare
runtime: org.freedesktop.Platform
runtime-version: '21.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/share/man
modules:
- name: flare-engine
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/flareteam/flare-engine/archive/v1.13.tar.gz
sha256: 5a4094437bbaf043a318ccf9cd4ac42bc642340ac65cc2461e6c45f6c9bacdea
x-checker-data:
type: anitya
project-id: 21433
url-template: https://github.com/flareteam/flare-engine/archive/v$version.tar.gz
stable-only: true
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.13.tar.gz
sha256: 39366e3cd20e22c818d088051a2e2ef0c31e63d1cefea64b92b58fa6a98993b0
x-checker-data:
type: anitya
project-id: 21434
url-template: https://github.com/flareteam/flare-game/archive/v$version.tar.gz
stable-only: true
post-install:
- echo "flare --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