{
 "app_id": "com.viewizard.AstroMenace",
 "source_url": "https://raw.githubusercontent.com/flathub/com.viewizard.AstroMenace/master/com.viewizard.AstroMenace.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:09:06.128510+00:00",
 "manifest": {
  "app-id": "com.viewizard.AstroMenace",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "astromenace",
  "rename-desktop-file": "astromenace.desktop",
  "rename-appdata-file": "astromenace.appdata.xml",
  "rename-icon": "astromenace",
  "finish-args": [
   "--socket=fallback-x11",
   "--share=ipc",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=all"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/glu/glu-9.json",
   {
    "name": "freealut",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "http://pkgs.fedoraproject.org/repo/pkgs/freealut/freealut-1.1.0.tar.gz/e089b28a0267faabdb6c079ee173664a/freealut-1.1.0.tar.gz",
      "sha256": "60d1ea8779471bb851b89b49ce44eecb78e46265be1a6e9320a28b100c8df44f"
     }
    ]
   },
   {
    "name": "astromenace",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "no-make-install": true,
    "post-install": [
     "install -Dm0644 gamedata.vfs -t /app/share/astromenace",
     "install -Dm0755 astromenace -t /app/share/astromenace",
     "install -Dm0755 astromenace-launcher /app/bin/astromenace",
     "install -Dm0644 share/astromenace_64.png /app/share/icons/hicolor/64x64/apps/astromenace.png",
     "install -Dm0644 share/astromenace_128.png /app/share/icons/hicolor/128x128/apps/astromenace.png",
     "install -Dm0644 share/astromenace.desktop -t /app/share/applications/",
     "install -Dm0644 share/astromenace.appdata.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/viewizard/astromenace.git",
      "tag": "v1.4.3",
      "commit": "9f01c1f0c635091f4de818bc3d3b8ee810a4f984",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/viewizard/astromenace/releases",
       "tag-query": "[.[] | select(.draft == false and .prerelease == false)][0].tag_name"
      }
     },
     {
      "type": "patch",
      "path": "appdata-release-placeholder.patch"
     },
     {
      "type": "script",
      "commands": [
       "exec /app/share/astromenace/astromenace --dir=/app/share/astromenace \"$@\""
      ],
      "dest-filename": "astromenace-launcher"
     }
    ]
   }
  ]
 }
}