{
 "app_id": "app.comaps.comaps",
 "source_url": "https://raw.githubusercontent.com/flathub/app.comaps.comaps/master/app.comaps.comaps.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--system-talk-name=org.freedesktop.GeoClue2.*"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-19T12:26:18.228625+00:00",
 "manifest": {
  "app-id": "app.comaps.comaps",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "CoMaps",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--system-talk-name=org.freedesktop.GeoClue2.*"
  ],
  "cleanup": [
   "*.a",
   "/include"
  ],
  "modules": [
   {
    "name": "optipng",
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/optipng/optipng-7.9.1.tar.gz",
      "sha256": "c2579be58c2c66dae9d63154edcb3d427fef64cb00ec0aff079c9d156ec46f29"
     }
    ]
   },
   {
    "name": "python-protobuf",
    "buildsystem": "simple",
    "cleanup": [
     "*"
    ],
    "build-commands": [
     "pip3 install --no-index --no-build-isolation --prefix=\"${FLATPAK_DEST}\" ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/55/5b/e3d951e34f8356e5feecacd12a8e3b258a1da6d9a03ad1770f28925f29bc/protobuf-3.20.3.tar.gz",
      "sha256": "2e3427429c9cffebf259491be0af70189607f365c2f41c7c3764af6f337105f2"
     }
    ]
   },
   {
    "name": "comaps",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DSKIP_TESTS=1",
     "-DSKIP_TOOLS=1"
    ],
    "post-install": [
     "mkdir -p \"${FLATPAK_DEST}/share/comaps/data/world_mwm/260830\"",
     "install -Dm644 \"../data/world_mwm/260830/WorldCoasts.mwm\" \"${FLATPAK_DEST}/share/comaps/data/world_mwm/260830/\"",
     "install -Dm644 \"../data/world_mwm/260830/World.mwm\" \"${FLATPAK_DEST}/share/comaps/data/world_mwm/260830/\"",
     "install -Dm644 \"../qt/res/logo.png\" \"${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png\"",
     "install -Dm644 \"../qt/res/logo-scalable.svg\" \"${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg\"",
     "install -Dm644 \"../data/categories_brands.txt\" \"${FLATPAK_DEST}/share/comaps/data/\"",
     "desktop-file-edit \"${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop\" --set-icon=${FLATPAK_ID}"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/comaps/comaps",
      "commit": "72632e4de65a98dfed827d8e447f0287168639d0",
      "tag": "v2026.08.31-14"
     },
     {
      "type": "file",
      "url": "https://cdn-fi-1.comaps.app/maps/2026.06.28/260830/World.mwm",
      "sha256": "4dc68624af3102471e03bc05b02ad8b7a7ae3a7b6cd30ecb64228b14f9d4df03",
      "dest": "data/world_mwm/260830/"
     },
     {
      "type": "file",
      "url": "https://cdn-fi-1.comaps.app/maps/2026.06.28/260830/WorldCoasts.mwm",
      "sha256": "a4d6f470b19137a624962ada2fe0d9c803e1f8925233abd3ce87a378abe2fe87",
      "dest": "data/world_mwm/260830/"
     },
     {
      "type": "shell",
      "commands": [
       "./configure.sh"
      ]
     }
    ]
   }
  ]
 }
}