-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.srb2.SRB2Kart-Saturn.yaml
182 lines (171 loc) · 5.73 KB
/
org.srb2.SRB2Kart-Saturn.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
app-id: org.srb2.SRB2Kart-Saturn
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: srb2kart.sh
finish-args:
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
- --device=all
- --persist=.srb2kart
- --filesystem=xdg-run/app/com.discordapp.Discord:create
- --filesystem=xdg-run/discord-ipc-0
add-extensions:
com.valvesoftware.Steam.Utility.gamescope:
version: stable
add-ld-path: lib
no-autodownload: true
autodelete: true
directory: utils/gamescope
cleanup-commands:
- mkdir -p /app/utils/gamescope
modules:
- shared-modules/glu/glu-9.json
- name: game-music-emu
buildsystem: cmake-ninja
cleanup:
- /include
- /lib/*.so
- /lib/pkgconfig
sources:
- type: archive
url: https://github.com/libgme/game-music-emu/archive/refs/tags/0.6.3.tar.gz
sha256: 4c5a7614acaea44e5cb1423817d2889deb82674ddbc4e3e1291614304b86fca0
x-checker-data:
type: anitya
project-id: 866
stable-only: true
url-template: https://github.com/libgme/game-music-emu/archive/refs/tags/$version.tar.gz
- name: libmodplug
buildsystem: autotools
cleanup:
- /include
- /lib/*.la
- /lib/pkgconfig
sources:
- type: archive
url: https://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz
sha256: 457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de
x-checker-data:
type: anitya
project-id: 5669
url-template: https://sourceforge.net/projects/modplug-xmms/files/libmodplug/$version/libmodplug-$version.tar.gz
- name: rapidjson
buildsystem: cmake-ninja
config-opts:
- -DRAPIDJSON_BUILD_DOC=OFF
- -DRAPIDJSON_BUILD_EXAMPLES=OFF
- -DRAPIDJSON_BUILD_TESTS=OFF
- -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
cleanup:
- /include
- /lib/cmake
- /lib/pkgconfig
- /share/doc
sources:
- type: archive
url: https://github.com/Tencent/rapidjson/archive/refs/tags/v1.1.0.tar.gz
sha256: bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
x-checker-data:
type: anitya
project-id: 7422
stable-only: true
url-template: https://github.com/Tencent/rapidjson/archive/refs/tags/v$version.tar.gz
- name: discord-rpc
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_EXAMPLES=OFF
cleanup:
- /include
sources:
- type: git
url: https://github.com/discord/discord-rpc.git
commit: 963aa9f3e5ce81a4682c6ca3d136cddda614db33
- name: libopenmpt
config-opts:
- --disable-examples
- --disable-openmpt123
- --disable-static
- --disable-tests
- --without-portaudio
- --without-portaudiocpp
cleanup:
- /include
- /lib/*.la
- /lib/*.so
- /lib/pkgconfig
- /share/doc
sources:
- type: archive
url: https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.7.11+release.autotools.tar.gz
sha256: 53a798b8c6e2e1f695e8ad05e93a0c1b53199e5aa9981837c41696b370520767
x-checker-data:
type: anitya
project-id: 141468
stable-only: true
url-template: https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-$version+release.autotools.tar.gz
- name: libbacktrace
buildsystem: autotools
no-autogen: true
build-options:
strip: false
no-debuginfo: true
cleanup:
- /include
- /lib/*.a
- /lib/*.la
sources:
- type: git
url: https://github.com/ianlancetaylor/libbacktrace.git
commit: 7ead8c1ea2f4aeafe9c5b9ef8a9461a9ba781aa8
- name: srb2kart
buildsystem: simple
build-options:
arch:
aarch64:
env:
ARCH_MAKE_ARGS: LINUX64=1
x86_64:
env:
ARCH_MAKE_ARGS: LINUX64=1 X86_64=1
build-commands:
- make -C src -j $FLATPAK_BUILDER_N_JOBS NOUPX=1 SDL=1 HAVE_DISCORDRPC=1 $ARCH_MAKE_ARGS
- install -D -m 755 bin/Linux*/Release/lsdl2srb2kart $FLATPAK_DEST/bin/srb2kart
- install -D -m 644 srb2.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png
- install -D -m 644 src/sdl/srb2icon.png $FLATPAK_DEST/share/icons/hicolor/64x64/apps/$FLATPAK_ID.png
- install -D -m 755 srb2kart.sh $FLATPAK_DEST/bin/srb2kart.sh
- install -D -m 644 -t $FLATPAK_DEST/share/applications org.srb2.SRB2Kart-Saturn.desktop
- install -D -m 644 -t $FLATPAK_DEST/share/metainfo $FLATPAK_ID.metainfo.xml
sources:
- type: git
url: https://github.com/Indev450/SRB2Kart-Saturn.git
commit: 54cbfbe699dd37290226054f7e347f769be11a99
- type: file
path: srb2kart.sh
- type: file
path: org.srb2.SRB2Kart-Saturn.metainfo.xml
- name: srb2kart-assets
buildsystem: simple
build-commands:
- install -t $FLATPAK_DEST/bin apply_extra
sources:
- type: extra-data
filename: Data.zip
url: https://github.com/STJr/Kart-Public/releases/download/v1.6/AssetsLinuxOnly.zip
sha256: 7a384fb99d42f0cf41d12e3ed873754f9a5ba2b993d5e54bde7962bea3accdd1
size: 220991971
- type: extra-data
filename: saturn-assets.zip
url: https://github.com/Indev450/SRB2Kart-Saturn/releases/download/v7.1/Just-Extra-Files.zip
sha256: 8258f0045845384136c92d651ed11c03cf1d5a6bb5a97d5b4198f14bd81d9895
size: 14866
- type: script
commands:
- unzip Data.zip *.kart srb2.srb mdls* > /dev/null
- unzip saturn-assets.zip > /dev/null
- rm Data.zip saturn-assets.zip
dest-filename: apply_extra