1 | { |
---|
2 | "app-id": "net.orxonox.Orxonox", |
---|
3 | "runtime": "org.freedesktop.Platform", |
---|
4 | "runtime-version": "18.08", |
---|
5 | "sdk": "org.freedesktop.Sdk", |
---|
6 | "command": "/app/games/orxonox", |
---|
7 | "cleanup": [ "/lib/*.a" ], |
---|
8 | "modules": [ |
---|
9 | { |
---|
10 | "name": "enet", |
---|
11 | "buildsystem": "autotools", |
---|
12 | "sources": [ |
---|
13 | { |
---|
14 | "type": "archive", |
---|
15 | "path": "deps/enet-1.3.13.tar.gz", |
---|
16 | "sha256": "e36072021faa28731b08c15b1c3b5b91b911baf5f6abcc7fe4a6d425abada35c" |
---|
17 | } |
---|
18 | ] |
---|
19 | }, |
---|
20 | { |
---|
21 | "name": "freealut", |
---|
22 | "buildsystem": "cmake", |
---|
23 | "sources": [ |
---|
24 | { |
---|
25 | "type": "archive", |
---|
26 | "path": "deps/freealut-last-upstream-commit.tar.gz", |
---|
27 | "sha256": "fefc7aca3c64a7529531afc35a412db351c1f4a425af023d12c9a80f8f1e1a53" |
---|
28 | } |
---|
29 | ] |
---|
30 | }, |
---|
31 | { |
---|
32 | "name": "boost", |
---|
33 | "sources": [ |
---|
34 | { |
---|
35 | "type": "archive", |
---|
36 | "path": "deps/boost_1_68_0.tar.bz2", |
---|
37 | "sha256": "7f6130bc3cf65f56a618888ce9d5ea704fa10b462be126ad053e80e553d6d8b7" |
---|
38 | }, |
---|
39 | { |
---|
40 | "type": "file", |
---|
41 | "path": "res/boost-configure", |
---|
42 | "dest-filename": "configure" |
---|
43 | } |
---|
44 | ] |
---|
45 | }, |
---|
46 | { |
---|
47 | "name": "xmu", |
---|
48 | "buildsystem": "autotools", |
---|
49 | "sources": [ |
---|
50 | { |
---|
51 | "type": "archive", |
---|
52 | "path": "deps/libXmu-1.1.1.tar.gz", |
---|
53 | "sha256": "e7f7f227c8f430de81984d9725113ecd8994d07de372abf334b1c3dec31ceaf1" |
---|
54 | } |
---|
55 | ] |
---|
56 | }, |
---|
57 | { |
---|
58 | "name": "xaw", |
---|
59 | "buildsystem": "autotools", |
---|
60 | "sources": [ |
---|
61 | { |
---|
62 | "type": "archive", |
---|
63 | "path": "deps/libXaw-1.0.11.tar.gz", |
---|
64 | "sha256": "ef4dd840b2896401c75d68cf0296a7243b5953f22261f8e8c4a92b53e771fc90" |
---|
65 | } |
---|
66 | ] |
---|
67 | }, |
---|
68 | { |
---|
69 | "name": "freetype", |
---|
70 | "buildsystem": "autotools", |
---|
71 | "builddir": true, |
---|
72 | "sources": [ |
---|
73 | { |
---|
74 | "type": "archive", |
---|
75 | "path": "deps/freetype-2.4.0.tar.gz", |
---|
76 | "sha256": "7d7cce582e83a9b35edf14a39bddb5303d0c3796865466e3302b6d85663c79a7" |
---|
77 | } |
---|
78 | ] |
---|
79 | }, |
---|
80 | { |
---|
81 | "name": "freeimage", |
---|
82 | "buildsystem": "simple", |
---|
83 | "build-commands": [ |
---|
84 | "make -j", |
---|
85 | "make install" |
---|
86 | ], |
---|
87 | "sources": [ |
---|
88 | { |
---|
89 | "type": "archive", |
---|
90 | "path": "deps/FreeImage3180-modified.tar.xz", |
---|
91 | "sha256": "2784dd06129f7d56b4d49ea5694d03edee0fdc2432e6d08c671f5b55127d31fa" |
---|
92 | } |
---|
93 | ] |
---|
94 | }, |
---|
95 | { |
---|
96 | "name": "glu", |
---|
97 | "buildsystem": "autotools", |
---|
98 | "sources": [ |
---|
99 | { |
---|
100 | "type": "archive", |
---|
101 | "path": "deps/glu.tar.xz", |
---|
102 | "sha256": "6d9bfdddf21d873f0ae460375f0904aad2f84197b259ea070ca56d9e796713f8" |
---|
103 | } |
---|
104 | ] |
---|
105 | }, |
---|
106 | { |
---|
107 | "name": "ogre", |
---|
108 | "buildsystem": "cmake", |
---|
109 | "sources": [ |
---|
110 | { |
---|
111 | "type": "archive", |
---|
112 | "path": "deps/ogre-1.9.tar.xz", |
---|
113 | "sha256": "2fede124550fe3cb996e1e3efb46392d22f4346b826c1e76e6a1f2ecb476d485" |
---|
114 | }, |
---|
115 | { |
---|
116 | "type": "patch", |
---|
117 | "path": "res/ogre1.9-gcc5.2.patch" |
---|
118 | } |
---|
119 | ] |
---|
120 | }, |
---|
121 | { |
---|
122 | "name": "lua", |
---|
123 | "buildsystem": "cmake", |
---|
124 | "sources": [ |
---|
125 | { |
---|
126 | "type": "archive", |
---|
127 | "path": "deps/lua-5.1.5.tar.gz", |
---|
128 | "sha256": "612b024b1678cbb39a880a8b2c611b40fb267ba19c7d7073953289d046f1e99f" |
---|
129 | } |
---|
130 | ] |
---|
131 | }, |
---|
132 | { |
---|
133 | "name": "tolua++", |
---|
134 | "buildsystem": "cmake", |
---|
135 | "sources": [ |
---|
136 | { |
---|
137 | "type": "archive", |
---|
138 | "path": "deps/toluapp-1.0.93.tar.gz", |
---|
139 | "sha256": "0a1ff87cb74e7531aec57e2a7cfdf282116647dea3b46223e3cc7c362b55b5bb" |
---|
140 | } |
---|
141 | ] |
---|
142 | }, |
---|
143 | { |
---|
144 | "name": "cegui", |
---|
145 | "buildsystem": "cmake", |
---|
146 | "sources": [ |
---|
147 | { |
---|
148 | "type": "archive", |
---|
149 | "path": "deps/cegui-0.8.7.tar.bz2", |
---|
150 | "sha256": "b351e8957716d9c170612c13559e49530ef911ae4bac2feeb2dacd70b430e518" |
---|
151 | } |
---|
152 | ] |
---|
153 | }, |
---|
154 | { |
---|
155 | "name": "tinyxml", |
---|
156 | "buildsystem": "cmake", |
---|
157 | "sources": [ |
---|
158 | { |
---|
159 | "type": "archive", |
---|
160 | "path": "deps/tinyxml_2_6_2-cmake.tar.xz", |
---|
161 | "sha256": "ec877dfc2d9b27a60b10b3686d894d6a14018de870b651dee0f08485231582f4" |
---|
162 | } |
---|
163 | ] |
---|
164 | }, |
---|
165 | { |
---|
166 | "name": "tcl", |
---|
167 | "buildsystem": "simple", |
---|
168 | "subdir": "unix", |
---|
169 | "build-commands": [ |
---|
170 | "./configure --prefix=/app --exec-prefix=/app", |
---|
171 | "make -j", |
---|
172 | "make install", |
---|
173 | "chmod 755 /app/lib/libtcl8.6.so", |
---|
174 | "chmod 755 /app/lib/tdbcpostgres1.0.6/libtdbcpostgres1.0.6.so" |
---|
175 | ], |
---|
176 | "sources": [ |
---|
177 | { |
---|
178 | "type": "archive", |
---|
179 | "path": "deps/tcl8.6.8-src.tar.gz", |
---|
180 | "sha256": "c43cb0c1518ce42b00e7c8f6eaddd5195c53a98f94adc717234a65cbcfd3f96a" |
---|
181 | } |
---|
182 | ] |
---|
183 | }, |
---|
184 | { |
---|
185 | "name": "orxonox", |
---|
186 | "buildsystem": "cmake", |
---|
187 | "builddir": true, |
---|
188 | "subdir": "code", |
---|
189 | "build-options" : { |
---|
190 | "env": { |
---|
191 | "LIBRARY_PATH":"/app/lib" |
---|
192 | } |
---|
193 | }, |
---|
194 | "sources": [ |
---|
195 | { |
---|
196 | "type": "dir", |
---|
197 | "path": "orxonox" |
---|
198 | } |
---|
199 | ] |
---|
200 | } |
---|
201 | ], |
---|
202 | "finish-args": [ |
---|
203 | "--socket=x11", |
---|
204 | "--share=network", |
---|
205 | "--share=ipc", |
---|
206 | "--device=dri", |
---|
207 | "--socket=pulseaudio" |
---|
208 | ] |
---|
209 | } |
---|