{
 "app_id": "io.github.Rangi42.polished-map",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Rangi42.polished-map/master/io.github.Rangi42.polished-map.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--filesystem=host"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-19T12:40:10.837836+00:00",
 "manifest": {
  "app-id": "io.github.Rangi42.polished-map",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "polishedmap",
  "finish-args": [
   "--filesystem=host:rw",
   "--socket=x11",
   "--device=dri",
   "--share=ipc"
  ],
  "modules": [
   {
    "name": "fltk",
    "buildsystem": "autotools",
    "config-opts": [
     "--with-abiversion=10307"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/fltk/fltk.git",
      "tag": "release-1.3.8",
      "commit": "3600522ae7d2244b69552458e4d82f869a36067b"
     },
     {
      "type": "patch",
      "path": "xdg-dir.patch"
     }
    ],
    "cleanup": [
     "/share"
    ]
   },
   {
    "name": "polished-map",
    "buildsystem": "simple",
    "build-commands": [
     "make \"RELEASEFLAGS=-DNDEBUG -O3\"",
     "make install PREFIX=$FLATPAK_DEST",
     "mv \"$FLATPAK_DEST/share/applications/Polished Map.desktop\" $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop",
     "desktop-file-edit --set-icon=$FLATPAK_ID --add-category=Game $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop",
     "install -Dm644 $FLATPAK_ID.png -t $FLATPAK_DEST/share/icons/hicolor/128x128/apps",
     "install -Dm644 $FLATPAK_ID.metainfo.xml -t $FLATPAK_DEST/share/metainfo"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar-gzip",
      "url": "https://api.github.com/repos/Rangi42/polished-map/tarball/v4.7.1",
      "sha256": "d4369600f9d98f1d63ca5a425ee30ff87c0b61212f8801647995670e3b6af3dc",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Rangi42/polished-map/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".tarball_url",
       "is-main-source": true
      }
     },
     {
      "type": "file",
      "path": "io.github.Rangi42.polished-map.png"
     },
     {
      "type": "file",
      "path": "io.github.Rangi42.polished-map.metainfo.xml"
     }
    ]
   }
  ]
 }
}