-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathorg.flarerpg.Flare.yaml
51 lines (49 loc) · 1.74 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
app-id: org.flarerpg.Flare
rename-desktop-file: flare.desktop
rename-icon: flare
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: flare.sh
finish-args:
- --socket=wayland
- --socket=fallback-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.14.tar.gz
sha256: 2c1bafeaa5ac26c10449bfcb7151b06e8a22547aa7364d2a39bbcb135aa50a09
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.14.tar.gz
sha256: 65758462070aa88842084f8ee69083d8226e93cfbf83481663276d8307494b8e
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