{
 "app_id": "io.github.yairm210.unciv",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.yairm210.unciv/master/io.github.yairm210.unciv.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:17:07.111280+00:00",
 "manifest": {
  "app-id": "io.github.yairm210.unciv",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk25"
  ],
  "command": "unciv",
  "finish-args": [
   "--socket=x11",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network",
   "--share=ipc",
   "--env=PATH=/app/bin:/app/jre/bin:/usr/bin",
   "--env=JAVA_HOME=/app/jre"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk25/install.sh"
    ]
   },
   {
    "name": "unciv",
    "buildsystem": "simple",
    "build-commands": [
     "install -D unciv-wrapper.sh /app/bin/unciv",
     "install -D Unciv.jar /app/data/Unciv.jar",
     "install -Dm644 -t /app/share/metainfo io.github.yairm210.unciv.appdata.xml",
     "install -Dm644 -t /app/share/applications io.github.yairm210.unciv.desktop",
     "install -Dm644 -t /app/share/icons/hicolor/512x512/apps io.github.yairm210.unciv.png"
    ],
    "sources": [
     {
      "type": "file",
      "path": "unciv-wrapper.sh"
     },
     {
      "type": "file",
      "path": "io.github.yairm210.unciv.desktop"
     },
     {
      "type": "file",
      "path": "io.github.yairm210.unciv.png"
     },
     {
      "type": "file",
      "path": "io.github.yairm210.unciv.appdata.xml"
     },
     {
      "type": "file",
      "url": "https://github.com/yairm210/Unciv/releases/download/4.22.1/Unciv.jar",
      "sha256": "a50792687ef66da526a5ccc4461d04b48e9a668f99dc87ef9b7043c031efc2d6",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/yairm210/Unciv/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name==\"Unciv.jar\") | .browser_download_url"
      }
     }
    ]
   }
  ]
 }
}