{
 "app_id": "com.voxdsp.SeriousShooter",
 "source_url": "https://raw.githubusercontent.com/flathub/com.voxdsp.SeriousShooter/master/com.voxdsp.SeriousShooter.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:09:06.128514+00:00",
 "manifest": {
  "app-id": "com.voxdsp.SeriousShooter",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "seriousshooter",
  "rename-icon": "seriousshooter",
  "rename-desktop-file": "seriousshooter.desktop",
  "rename-appdata-file": "seriousshooter.appdata.xml",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig"
  ],
  "modules": [
   {
    "name": "glfw",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_SHARED_LIBS=ON",
     "-DGLFW_BUILD_EXAMPLES=OFF",
     "-DGLFW_BUILD_TESTS=OFF",
     "-DGLFW_BUILD_DOCS=OFF",
     "-DGLFW_USE_WAYLAND=1"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/glfw/glfw.git",
      "commit": "3eaf1255b29fdf5c2895856c7be7d7185ef2b241"
     }
    ]
   },
   {
    "name": "seriousshooter",
    "buildsystem": "simple",
    "build-commands": [
     "cc main.c glad_gl.c -I inc -Ofast -L/app/lib -lglfw -lm -o seriousshooter",
     "install -Dm 0755 seriousshooter -t ${FLATPAK_DEST}/bin",
     "install -Dm 0644 flat/seriousshooter.desktop ${FLATPAK_DEST}/share/applications/seriousshooter.desktop",
     "install -Dm 0644 flat/seriousshooter.appdata.xml ${FLATPAK_DEST}/share/metainfo/seriousshooter.appdata.xml",
     "install -Dm 0644 flat/seriousshooter.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/seriousshooter.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mrbid/SeriousShooter.git",
      "commit": "741427bda8c1c38235a6da12cd3a1b4ffeeacb84"
     },
     {
      "type": "patch",
      "path": "fix-appdata.patch"
     }
    ]
   }
  ]
 }
}