{
 "app_id": "io.github.Andrettin.Wyrmsun",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Andrettin.Wyrmsun/master/io.github.Andrettin.Wyrmsun.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:10:14.746955+00:00",
 "manifest": {
  "app-id": "io.github.Andrettin.Wyrmsun",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "wyrmsun",
  "rename-icon": "wyrmsun",
  "rename-desktop-file": "wyrmsun.desktop",
  "rename-appdata-file": "wyrmsun.appdata.xml",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=pulseaudio",
   "--persist=.stratagus"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/lua5.1/lua-5.1.5.json",
   "shared-modules/physfs/physfs.json",
   {
    "name": "tolua++",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/LuaDist/toluapp.git",
      "tag": "1.0.93",
      "commit": "9feb31ab8b97eda9561846508ee9e3a2caff8da7"
     }
    ],
    "cleanup": [
     "/bin/toluapp"
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=${FLATPAK_DEST} --with-libraries=date_time",
     "./b2 -j${FLATPAK_BUILDER_N_JOBS} install variant=release cxxstd=11 --layout=system"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.69.0/source/boost_1_69_0.tar.bz2",
      "sha256": "8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406"
     }
    ]
   },
   {
    "name": "wyrmgus",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DWITH_TEST=OFF",
     "-DENABLE_STATIC=OFF",
     "-DOpenGL_GL_PREFERENCE=GLVND",
     "-DWITH_GEOJSON=OFF",
     "-DGAMEDIR=/app/bin",
     "-DENABLE_USEGAMEDIR=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Andrettin/Wyrmgus.git",
      "tag": "v5.3.5",
      "commit": "281ee8d89f7786889d241de437cb00b268c6a965",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(v[\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "wyrmsun",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBIN_DIR=bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Andrettin/Wyrmsun.git",
      "tag": "v5.3.5",
      "commit": "c5bb082b1232280490cbf6ddb542c9b6dc2b3fe4",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(v[\\d.]+)$"
      }
     },
     {
      "type": "patch",
      "path": "appdata.patch"
     },
     {
      "type": "patch",
      "path": "appdata2.patch"
     }
    ]
   }
  ]
 }
}