-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.joyrider3774.znax.yml
56 lines (53 loc) · 1.68 KB
/
io.github.joyrider3774.znax.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
app-id: io.github.joyrider3774.znax
runtime: org.freedesktop.Platform
runtime-version: "21.08"
sdk: org.freedesktop.Sdk
command: /app/games/znax/znax
finish-args:
- --device=all # needed for gamepads
- --share=ipc # needed for X11
- --socket=x11
- --socket=pulseaudio
- --filesystem=home:rw
cleanup:
- "/include"
- "*.a"
- "/lib/pkgconfig"
modules:
- name: libmodplug
sources:
- type: archive
url: http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.5/libmodplug-0.8.8.5.tar.gz
sha256: 77462d12ee99476c8645cb5511363e3906b88b33a6b54362b4dbc0f39aa2daad
# needed to rebuild sdl2_mixer, original one does not pick up libmodplug for games music
- name: SDL2_mixer,
sources:
- type: archive
url: https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz
sha256: b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419
- name: SDL2_gfx
config-opts:
- --disable-static
- --disable-mmx
build-options:
arch:
i386:
config-opts:
- --enable-mmx
x86_64:
config-opts:
- --enable-mmx
sources:
- type: archive
url: https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-1.0.4.tar.gz
sha256: 63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262
- name: znax
no-autogen: true
build-options:
env:
PREFIX: /app
cppflags: "`sdl2-config --cflags` `pkg-config --cflags SDL2_gfx libmodplug`"
ldflags: "`sdl2-config --libs` `pkg-config --libs SDL2_gfx libmodplug`"
sources:
- type: git
url: https://github.com/joyrider3774/Znax.git