{
 "app_id": "org.cataclysmdda.CataclysmDDA",
 "source_url": "https://raw.githubusercontent.com/flathub/org.cataclysmdda.CataclysmDDA/master/org.cataclysmdda.CataclysmDDA.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:14:17.024731+00:00",
 "manifest": {
  "id": "org.cataclysmdda.CataclysmDDA",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "cataclysm-tiles",
  "finish-args": [
   "--socket=pulseaudio",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri"
  ],
  "modules": [
   "shared-modules/SDL2/SDL2_image.json",
   "shared-modules/SDL2/SDL2_ttf.json",
   {
    "name": "cataclysm-tiles",
    "buildsystem": "simple",
    "build-options": {
     "cxxflags": "-Wno-error=template-body",
     "prepend-pkg-config-path": "/app/lib64/pkgconfig",
     "prepend-ld-library-path": "/app/lib64",
     "env": {
      "MAKE_ARGS": "PREFIX=/app LANGUAGES=all USE_XDG_DIR=1 TILES=1 SOUND=1 RELEASE=1 RUNTESTS=0 ASTYLE=0 LINTJSON=0"
     }
    },
    "build-commands": [
     "make -j $FLATPAK_BUILDER_N_JOBS $MAKE_ARGS",
     "make $MAKE_ARGS localization",
     "make $MAKE_ARGS install",
     "sed -i 's#data/font/#/app/share/cataclysm-dda/font/#g' /app/share/cataclysm-dda/fontdata.json"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/CleverRaven/Cataclysm-DDA/archive/refs/tags/0.I.tar.gz",
      "sha256": "1e4a6e1f70d805d01c97c71294eb45aad47f56f1e895fa783127e20298ee3249",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 15303,
       "stable-only": true,
       "url-template": "https://github.com/CleverRaven/Cataclysm-DDA/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   }
  ]
 }
}