{
 "app_id": "net.sourceforge.mars-game",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.mars-game/master/net.sourceforge.mars-game.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:13:51.307264+00:00",
 "manifest": {
  "app-id": "net.sourceforge.mars-game",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "finish-args": [
   "--device=dri",
   "--persist=.marsshooter",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/gtk-doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "command": "marsshooter",
  "rename-appdata-file": "marsshooter.appdata.xml",
  "rename-desktop-file": "marsshooter.desktop",
  "rename-icon": "marsshooter",
  "modules": [
   {
    "name": "SFML",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DSFML_INSTALL_PKGCONFIG_FILES=TRUE",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://www.sfml-dev.org/files/SFML-2.5.1-sources.zip",
      "sha256": "bf1e0643acb92369b24572b703473af60bac82caf5af61e77c063b779471bb7f",
      "mirror-urls": [
       "https://github.com/SFML/SFML/releases/download/2.5.1/SFML-2.5.1-sources.zip"
      ]
     }
    ]
   },
   {
    "name": "mars-game",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-Dmars_EXE_DEST_DIR=/app/bin",
     "-Dmars_DATA_DEST_DIR=/app/share/marsshooter",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jwrdegoede/M.A.R.S./archive/marsshooter-0.7.6.tar.gz",
      "sha256": "1ff063590d71580baa432b8801987e79571d611e410d0302d5c376851d6e3378"
     },
     {
      "type": "patch",
      "paths": [
       "patches/mars-Set-correct-datadir-for-prefix-usr.patch",
       "patches/2f98279d1867c9cfbfacf4c0b3925edb38c03362.patch",
       "patches/avoid-crash-because-of-missing-return-statement.patch",
       "patches/marsshooter-crash-fix.patch",
       "patches/marsshooter-crash-fix2.patch",
       "patches/marsshooter-gcc11-fix.patch",
       "patches/marsshooter-waree-type.patch",
       "patches/appdata.patch"
      ]
     }
    ]
   }
  ]
 }
}