{
 "app_id": "org.openttd.openttdNightly",
 "source_url": "https://raw.githubusercontent.com/casept/flatpak-openttd/master/org.openttd.openttdNightly.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "1.4",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=x11",
  "--share=ipc",
  "--device=dri",
  "--socket=pulseaudio",
  "--share=network",
  "--socket=wayland",
  "--persist=.openttd"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-17T17:37:29.172904+00:00",
 "manifest": {
  "app-id": "org.openttd.openttdNightly",
  "version": "1.7",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "1.4",
  "sdk": "org.freedesktop.Sdk",
  "command": "openttd",
  "rename-desktop-file": "openttd.desktop",
  "desktop-file-name-prefix": "(nightly) ",
  "rename-icon": "openttd",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network",
   "--socket=wayland",
   "--persist=.openttd"
  ],
  "modules": [
   "modules/libsdl-1.2.15.json",
   "modules/icu4c-55.1.json",
   "modules/libao-1.2.0.json",
   "modules/timidity-2.13.2.json",
   "modules/freepats-20060219.json",
   "modules/liblzo-2.10.json",
   {
    "name": "openttd",
    "config-opts": [
     "--without-allegro",
     "--with-liblzo2=/app/lib/liblzo2.so.2",
     "--menu-group=Game;StrategyGame;",
     "--binary-dir=bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "git://git.openttd.org/trunk.git"
     }
    ]
   },
   {
    "name": "opengfx",
    "buildsystem": "simple",
    "build-commands": [
     "tar -xvf opengfx-0.5.2.tar",
     "rm opengfx-0.5.2.tar",
     "cd opengfx-0.5.2",
     "mkdir -p /app/share/games/openttd/baseset/opengfx",
     "cp -r * /app/share/games/openttd/baseset/opengfx/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://binaries.openttd.org/extra/opengfx/0.5.2/opengfx-0.5.2-all.zip",
      "sha256": "19be61f1cb04cbb3cb9602f0b8eb6e6f56ecbefbfdd6e0e03f9579e5a5c1cbc8"
     }
    ]
   },
   {
    "name": "opensfx",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/share/games/openttd/baseset/opensfx",
     "cp -r * /app/share/games/openttd/baseset/opensfx/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip",
      "sha256": "6831b651b3dc8b494026f7277989a1d757961b67c17b75d3c2e097451f75af02"
     }
    ]
   },
   {
    "name": "openmsx",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/share/games/openttd/baseset/openmsx",
     "cp -r * /app/share/games/openttd/baseset/openmsx/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-0.3.1-all.zip",
      "sha256": "92e293ae89f13ad679f43185e83fb81fb8cad47fe63f4af3d3d9f955130460f5"
     }
    ]
   }
  ]
 }
}