-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.sta.supertux-advance.yml
61 lines (61 loc) · 2.23 KB
/
org.sta.supertux-advance.yml
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
app-id: org.sta.supertux-advance
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: runner.sh
finish-args:
- --device=dri
- --share=ipc
- --socket=x11
#- --socket=wayland
#- --socket=fallback-x11
- --socket=pulseaudio
- --filesystem=~/.local/share/supertux-advance:rw
- --persist=~/.local/share/supertux-advance
modules:
- name: supertux-advance
buildsystem: simple
build-commands:
- install -D tmp-brux-exec /app/bin/brux
- install -D runner.sh /app/bin/runner.sh
- mv sta /app/bin/
- install -D $FLATPAK_ID.appdata.xml /app/share/metainfo/$FLATPAK_ID.appdata.xml
- install -D $FLATPAK_ID.desktop /app/share/applications/$FLATPAK_ID.desktop
- install -D $FLATPAK_ID.svg /app/share/icons/hicolor/scalable/apps/$FLATPAK_ID.svg
#- cd /app/bin/sta && git apply /run/build/supertux-advance/0.2.1-InvertFix-PhysicsFS-Backport.diff
#- cd /app/bin/sta && git apply /run/build/supertux-advance/trigger-line-edit.diff
no-autogen: true
sources:
# - type: archive
# url: https://github.com/KelvinShadewing/supertux-advance/archive/refs/tags/0.2.0.tar.gz
# sha256: 54ec98cfa37adc972e099cf7a143af84958e4b120a1d3173cc417094a4c430d0
# dest: sta/
# Disabled because we need PhysFS.
# - type: archive
# url: https://github.com/KelvinShadewing/brux-gdk/releases/download/v0.2.11/brux-gdk-0.2.11.zip
# sha256: db3d5faf783b330b6f344a4ae948cb10016aaf225eeaadaf403544eed6635676
- type: git
url: https://github.com/KelvinShadewing/supertux-advance.git
dest: sta
branch: unstable
disable-fsckobjects: true
- type: file
path: org.sta.supertux-advance.appdata.xml
- type: file
path: org.sta.supertux-advance.desktop
- type: file
path: org.sta.supertux-advance.svg
- type: file
path: runner.sh
- type: file
path: patches/0.2.1-InvertFix-PhysicsFS-Backport.diff
- type: file
path: patches/trigger-line-edit.diff
- type: file
path: tmp-brux-exec
- modules/SDL2.json
- modules/SDL2_gfx.json
- modules/SDL2_image.json
- modules/SDL2_mixer.json
- modules/SDL2_net.json
- modules/PhysFS.json