-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathorg.srb2.SRB2Kart.yaml
162 lines (152 loc) · 5.14 KB
/
org.srb2.SRB2Kart.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
app-id: org.srb2.SRB2Kart
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://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.3.tar.xz
sha256: aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d
x-checker-data:
type: anitya
project-id: 866
stable-only: true
url-template: https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-$version.tar.xz
- 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: sdl2-mixer
buildsystem: autotools
cleanup:
- /include
- /lib/*.la
- /lib/*.a
- /lib/pkgconfig
sources:
- type: archive
url: https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.8.0/SDL2_mixer-2.8.0.tar.gz
sha256: 1cfb34c87b26dbdbc7afd68c4f545c0116ab5f90bbfecc5aebe2a9cb4bb31549
x-checker-data:
type: anitya
project-id: 4782
url-template: https://github.com/libsdl-org/SDL_mixer/releases/download/release-$version/SDL2_mixer-$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: srb2kart
buildsystem: simple
build-options:
arch:
arm:
env:
ARCH_MAKE_ARGS: LINUX=1 NONX86=1
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 755 srb2kart.sh $FLATPAK_DEST/bin/srb2kart.sh
- install -D -m 644 -t $FLATPAK_DEST/share/applications $FLATPAK_ID.desktop
- install -D -m 644 -t $FLATPAK_DEST/share/metainfo $FLATPAK_ID.metainfo.xml
sources:
- type: archive
url: https://github.com/STJr/Kart-Public/archive/refs/tags/v1.6.tar.gz
sha256: 924489e33ebb7e41bae3b84a65be2aae2ca01e2050938bff1e702b39848958d6
x-checker-data:
type: anitya
project-id: 18640
stable-only: true
url-template: https://github.com/STJr/Kart-Public/archive/refs/tags/v$version.tar.gz
- type: file
path: srb2kart.sh
- type: file
path: org.srb2.SRB2Kart.desktop
- type: file
path: org.srb2.SRB2Kart.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: script
commands:
- unzip Data.zip *.kart srb2.srb mdls* > /dev/null
- rm Data.zip
dest-filename: apply_extra