{
 "app_id": "org.bitfighter.Bitfighter",
 "source_url": "https://raw.githubusercontent.com/flathub/org.bitfighter.Bitfighter/master/org.bitfighter.Bitfighter.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:14:11.961995+00:00",
 "manifest": {
  "app-id": "org.bitfighter.Bitfighter",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "bitfighter",
  "rename-icon": "bitfighter",
  "rename-desktop-file": "bitfighter.desktop",
  "finish-args": [
   "--device=all",
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "libmodplug",
    "sources": [
     {
      "type": "archive",
      "url": "http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz",
      "sha256": "457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de"
     }
    ]
   },
   {
    "name": "libtomcrypt",
    "buildsystem": "simple",
    "build-commands": [
     "make -f makefile.shared library"
    ],
    "post-install": [
     "make -f makefile.shared PREFIX=${FLATPAK_DEST} install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libtom/libtomcrypt",
      "tag": "v1.18.2",
      "commit": "7e7eb695d581782f04b24dc444cbfde86af59853"
     }
    ]
   },
   "shared-modules/luajit/luajit.json",
   {
    "name": "bitfighter",
    "buildsystem": "cmake",
    "builddir": true,
    "build-options": {
     "cxxflags": "-Wno-error=template-body"
    },
    "config-opts": [
     "-DLUAJIT_BUILTIN=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/bitfighter/bitfighter.git",
      "tag": "bitfighter-022",
      "commit": "e15ddb6d09bde8a0d7f26b3bfb8ef05b3f0ca732"
     },
     {
      "type": "patch",
      "path": "patches/drop-cmake_policy.patch"
     },
     {
      "type": "patch",
      "path": "patches/pixmaps.patch"
     },
     {
      "type": "patch",
      "path": "patches/icons.patch",
      "use-git": true
     },
     {
      "type": "patch",
      "path": "patches/appstream.patch"
     },
     {
      "type": "patch",
      "path": "patches/captions.patch"
     },
     {
      "type": "patch",
      "path": "patches/rename-icon.patch"
     },
     {
      "type": "patch",
      "path": "patches/appstream-validate.patch"
     }
    ]
   }
  ]
 }
}