{
 "app_id": "io.github.Rangi42.polished-map-plusplus",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Rangi42.polished-map-plusplus/master/io.github.Rangi42.polished-map-plusplus.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:09.331955+00:00",
 "manifest": {
  "id": "io.github.Rangi42.polished-map-plusplus",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "polishedmap-plusplus",
  "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 $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop",
     "sed -i \"s/ Map++.desktop//g\" $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",
      "url": "https://github.com/Rangi42/polished-map/archive/refs/tags/v2.7.1++.tar.gz",
      "sha256": "534aa817b61666be1ff5a8a46801b012945ea200139151b90aa2c43f6feb82a4"
     },
     {
      "type": "file",
      "path": "io.github.Rangi42.polished-map-plusplus.png"
     },
     {
      "type": "file",
      "path": "io.github.Rangi42.polished-map-plusplus.metainfo.xml"
     }
    ]
   }
  ]
 }
}