{
 "app_id": "io.github.lincity_ng.lincity-ng",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.lincity_ng.lincity-ng/master/io.github.lincity_ng.lincity-ng.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=dri",
  "--filesystem=xdg-run/pipewire-0:ro"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:11:29.458218+00:00",
 "manifest": {
  "app-id": "io.github.lincity_ng.lincity-ng",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "lincity-ng",
  "finish-args": [
   "--share=ipc",
   "--device=dri",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0:ro"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "/share/doc"
  ],
  "modules": [
   {
    "name": "libxmlplusplus",
    "buildsystem": "meson",
    "config-opts": [
     "-Dbuild-examples=false",
     "-Dbuild-tests=false"
    ],
    "cleanup": [
     "/lib/libxml++-5.0"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libxmlplusplus/libxmlplusplus/releases/download/5.6.1/libxml%2B%2B-5.6.1.tar.xz",
      "sha256": "4996e8a73995e8a4cd656c8591dce38181146edfc30cb47c97d1db3c56990ad7",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/libxmlplusplus/libxmlplusplus/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name==\"libxml++-\" + $version + \".tar.xz\") | .browser_download_url"
      }
     }
    ]
   },
   {
    "name": "lincity-ng",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DLINCITYNG_VERSION_SUFFIX=flatpak"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/lincity-ng/lincity-ng/releases/download/lincity-ng-2.15.0/lincity-ng-2.15.0-Source.tar.xz",
      "sha256": "bc1eba0af24dd451ddf3e5ac8c335b48dcb29033ada424a3f5a798c3b1d91999",
      "x-checker-data": {
       "type": "json",
       "is-main-source": true,
       "url": "https://api.github.com/repos/lincity-ng/lincity-ng/releases/latest",
       "version-query": ".tag_name | sub(\"^lincity-ng-\"; \"\")",
       "url-query": ".assets[] | select(.name==\"lincity-ng-\" + $version + \"-Source.tar.xz\") | .browser_download_url"
      }
     },
     {
      "type": "patch",
      "path": "349.patch"
     }
    ]
   }
  ]
 }
}