|
| 1 | +{ |
| 2 | + "app-id": "org.openttd.openttd", |
| 3 | + "version": "1.7", |
| 4 | + "runtime": "org.freedesktop.Platform", |
| 5 | + "runtime-version": "1.4", |
| 6 | + "sdk": "org.freedesktop.Sdk", |
| 7 | + "command": "openttd", |
| 8 | + "rename-desktop-file": "openttd.desktop", |
| 9 | + "rename-icon": "openttd", |
| 10 | + "finish-args": [ |
| 11 | + /* X11 access */ |
| 12 | + "--socket=x11", "--share=ipc", |
| 13 | + /* OpenGL access */ |
| 14 | + "--device=dri", |
| 15 | + /* PulseAudio access */ |
| 16 | + "--socket=pulseaudio", |
| 17 | + /* Network access */ |
| 18 | + "--share=network", |
| 19 | + /* Wayland access */ |
| 20 | + "--socket=wayland", |
| 21 | + /* Persist saves and config files */ |
| 22 | + "--persist=.openttd" |
| 23 | + ], |
| 24 | + |
| 25 | + "modules": [ |
| 26 | + "modules/libsdl-1.2.15.json", |
| 27 | + "modules/icu4c-55.1.json", |
| 28 | + "modules/libao-1.2.0.json", |
| 29 | + "modules/timidity-2.13.2.json", |
| 30 | + "modules/freepats-20060219.json", |
| 31 | + "modules/liblzo-2.10.json", |
| 32 | + { |
| 33 | + "name": "openttd", |
| 34 | + "config-opts": [ |
| 35 | + "--without-allegro", |
| 36 | + "--with-liblzo2=/app/lib/liblzo2.so.2", |
| 37 | + "--menu-group=Game;StrategyGame;", |
| 38 | + "--binary-dir=bin" |
| 39 | + ], |
| 40 | + "sources" : [ |
| 41 | + { |
| 42 | + "type": "archive", |
| 43 | + "url": "https://binaries.openttd.org/releases/1.7.0/openttd-1.7.0-source.tar.xz", |
| 44 | + "sha256": "df9307f42a45ac57dff23fe5cfb9bdb2a3d676456e7c771de173de060c2a99e0" |
| 45 | + } |
| 46 | + ] |
| 47 | + }, |
| 48 | + { |
| 49 | + "name": "opengfx", |
| 50 | + "buildsystem": "simple", |
| 51 | + "build-commands": [ |
| 52 | + "tar -xvf opengfx-0.5.2.tar", |
| 53 | + "cd opengfx-0.5.2", |
| 54 | + "mkdir -p /app/share/games/openttd/baseset/opengfx", |
| 55 | + "cp -r * /app/share/games/openttd/baseset/opengfx/" |
| 56 | + ], |
| 57 | + "sources" : [ |
| 58 | + { |
| 59 | + "type": "archive", |
| 60 | + "url": "https://binaries.openttd.org/extra/opengfx/0.5.2/opengfx-0.5.2-all.zip", |
| 61 | + "sha256": "19be61f1cb04cbb3cb9602f0b8eb6e6f56ecbefbfdd6e0e03f9579e5a5c1cbc8" |
| 62 | + } |
| 63 | + ] |
| 64 | + }, |
| 65 | + { |
| 66 | + "name": "opensfx", |
| 67 | + "buildsystem": "simple", |
| 68 | + "build-commands": [ |
| 69 | + "mkdir -p /app/share/games/openttd/baseset/opensfx", |
| 70 | + "cp -r * /app/share/games/openttd/baseset/opensfx/" |
| 71 | + ], |
| 72 | + "sources" : [ |
| 73 | + { |
| 74 | + "type": "archive", |
| 75 | + "url": "https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip", |
| 76 | + "sha256": "6831b651b3dc8b494026f7277989a1d757961b67c17b75d3c2e097451f75af02" |
| 77 | + } |
| 78 | + ] |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "openmsx", |
| 82 | + "buildsystem": "simple", |
| 83 | + "build-commands": [ |
| 84 | + "mkdir -p /app/share/games/openttd/baseset/openmsx", |
| 85 | + "cp -r * /app/share/games/openttd/baseset/openmsx/" |
| 86 | + ], |
| 87 | + "sources" : [ |
| 88 | + { |
| 89 | + "type": "archive", |
| 90 | + "url": "https://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-0.3.1-all.zip", |
| 91 | + "sha256": "92e293ae89f13ad679f43185e83fb81fb8cad47fe63f4af3d3d9f955130460f5" |
| 92 | + } |
| 93 | + ] |
| 94 | + } |
| 95 | + ] |
| 96 | +} |
0 commit comments