{
 "app_id": "net.sourceforge.btanks",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.btanks/master/net.sourceforge.btanks.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-17T16:13:46.577710+00:00",
 "manifest": {
  "app-id": "net.sourceforge.btanks",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "btanks",
  "rename-appdata-file": "btanks.appdata.xml",
  "rename-desktop-file": "btanks.desktop",
  "rename-icon": "btanks",
  "finish-args": [
   "--device=dri",
   "--persist=.btanks",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/glu/glu-9.json",
   "shared-modules/SDL/SDL-1.2.15.json",
   "shared-modules/smpeg/smpeg-0.4.5.json",
   "shared-modules/SDL/SDL_image-1.2.12.json",
   "shared-modules/lua5.3/lua-5.3.5.json",
   "shared-modules/python2.7/python-2.7.json",
   {
    "name": "scons",
    "no-autogen": true,
    "make-install-args": [
     "PREFIX=/app"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/scons/scons/2.5.1/scons-2.5.1.tar.gz",
      "sha256": "0b25218ae7b46a967db42f2a53721645b3d42874a65f9552ad16ce26d30f51f2"
     },
     {
      "type": "file",
      "path": "scons-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "btanks",
    "no-autogen": true,
    "post-install": [
     "install -Dm644 btanks.png -t /app/share/icons/hicolor/128x128/apps/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/btanks/btanks-source/btanks-0.9.8083.tar.bz2",
      "sha256": "3fd2ce6a2b45f7a60c3b114fa9aff13cb3dd9fbb6a65cdc9798b76c4fa2c4341"
     },
     {
      "type": "patch",
      "path": "btanks-gcc.patch",
      "strip-components": 0
     },
     {
      "type": "patch",
      "path": "btanks-gcc47.patch",
      "strip-components": 0
     },
     {
      "type": "patch",
      "path": "btanks-lua-52.patch"
     },
     {
      "type": "patch",
      "path": "btanks-pow10f.patch"
     },
     {
      "type": "file",
      "path": "btanks-Makefile",
      "dest-filename": "Makefile"
     },
     {
      "type": "file",
      "path": "btanks.appdata.xml"
     },
     {
      "type": "file",
      "path": "btanks.desktop"
     },
     {
      "type": "file",
      "path": "btanks.png"
     }
    ]
   }
  ]
 }
}