-
Notifications
You must be signed in to change notification settings - Fork 4
/
org.supertuxproject.SuperTux.json
118 lines (118 loc) · 3.96 KB
/
org.supertuxproject.SuperTux.json
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
{
"app-id": "org.supertuxproject.SuperTux",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"command": "supertux2",
"rename-icon": "supertux2",
"rename-desktop-file": "supertux2.desktop",
"rename-appdata-file": "supertux2.appdata.xml",
"finish-args":
[
"--socket=wayland",
"--socket=fallback-x11",
"--share=ipc",
"--socket=pulseaudio",
"--share=network",
"--device=all"
],
"cleanup":
[
"/include",
"/lib/pkgconfig",
"/share/aclocal",
"*.la",
"*.a"
],
"modules": [
"shared-modules/SDL2/SDL2-2.26.1-with-libdecor.json",
{
"name": "fribidi",
"sources":
[
{
"type": "archive",
"url": "https://github.com/fribidi/fribidi/releases/download/v1.0.11/fribidi-1.0.11.tar.xz",
"sha256": "30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d"
}
]
},
{
"name": "raqm",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "https://github.com/HOST-Oman/libraqm/releases/download/v0.8.0/raqm-0.8.0.tar.xz",
"sha256": "e9b5ed5e6c1ed1341307d3fba5e325cd65af60f89616597c4a191b1aa6e95d1e"
}
]
},
"shared-modules/glu/glu-9.json",
"shared-modules/glew/glew.json",
{
"name": "boost",
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2",
"sha256": "8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc"
}
],
"build-commands": [
"./bootstrap.sh --prefix=/app --with-libraries=date_time,filesystem,locale",
"./b2 headers",
"./b2 install"
]
},
{
"name": "glm",
"buildsystem": "cmake-ninja",
"cleanup": ["*"],
"no-make-install": true,
"post-install": [
"install -d ${FLATPAK_DEST}/include",
"cp -R glm ${FLATPAK_DEST}/include"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/g-truc/glm/releases/download/0.9.9.8/glm-0.9.9.8.zip",
"sha256": "37e2a3d62ea3322e43593c34bae29f57e3e251ea89f4067506c94043769ade4c"
}
]
},
{
"name": "supertux",
"build-options" : {
"cflags":"-I/usr/include/SDL2",
"cxxflags":"-I/usr/include/SDL2"
},
"buildsystem": "cmake",
"config-opts": [
"-DINSTALL_SUBDIR_SHARE=share/supertux2",
"-DINSTALL_SUBDIR_BIN=bin",
"-DCMAKE_BUILD_TYPE=Release",
"-DIS_SUPERTUX_RELEASE=ON"
],
"sources": [
{
"type": "git",
"url": "https://github.com/SuperTux/supertux.git",
"disable-shallow-clone": true,
"commit": "v0.6.3"
},
{
"type": "patch",
"path": "supertux-build-fixes.patch"
},
{
"//": "Remember to delete this patch when the next SuperTux version gets released, as the appdata fix has also been merged into SuperTux's source code: https://github.com/SuperTux/supertux/pull/2668",
"type": "patch",
"path": "supertux-appdata.patch"
}
]
}
]
}