{
 "app_id": "at.mser.InfraArcana",
 "source_url": "https://raw.githubusercontent.com/mserajnik/flatpak.mser.at/master/apps/at.mser.InfraArcana/at.mser.InfraArcana.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--device=all",
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T17:42:58.424682+00:00",
 "manifest": {
  "app-id": "at.mser.InfraArcana",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "infra-arcana",
  "finish-args": [
   "--device=all",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--socket=wayland"
  ],
  "modules": [
   {
    "name": "sdl2-image",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DSDL2IMAGE_SAMPLES=OFF",
     "-DSDL2IMAGE_TESTS=OFF",
     "-DSDL2IMAGE_VENDORED=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.12/SDL2_image-2.8.12.tar.gz",
      "sha256": "393f5efb50536ec13ca4f4affb69cc9966d3c3f969e6c5e701faddf9f9785381"
     }
    ]
   },
   {
    "name": "infra-arcana",
    "buildsystem": "cmake",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "build-commands": [
     "install -Dm755 ./ia -t /app/lib/infra-arcana",
     "cp -r ./audio /app/lib/infra-arcana/",
     "cp -r ./data /app/lib/infra-arcana/",
     "cp -r ./gfx /app/lib/infra-arcana/",
     "cp ./manual.txt /app/lib/infra-arcana/",
     "install -Dm755 infra-arcana -t /app/bin",
     "install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications",
     "install -Dm644 ${FLATPAK_ID}.png -t /app/share/icons/hicolor/128x128/apps",
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/martin-tornqvist/ia.git",
      "tag": "v23.0.0",
      "commit": "51443407f4017754e59763f12f2c7ab4704e8ee2"
     },
     {
      "type": "script",
      "dest-filename": "infra-arcana",
      "commands": [
       "cd /app/lib/infra-arcana",
       "exec ./ia \"$@\""
      ]
     },
     {
      "type": "file",
      "path": "at.mser.InfraArcana.desktop"
     },
     {
      "type": "file",
      "path": "at.mser.InfraArcana.png"
     },
     {
      "type": "file",
      "path": "at.mser.InfraArcana.metainfo.xml"
     }
    ]
   }
  ]
 }
}