{
 "app_id": "app.organicmaps.desktop",
 "source_url": "https://raw.githubusercontent.com/flathub/app.organicmaps.desktop/master/app.organicmaps.desktop.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--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": 1,
 "fetched_at": "2026-09-18T11:40:32.511847+00:00",
 "manifest": {
  "app-id": "app.organicmaps.desktop",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "OMaps",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--system-talk-name=org.freedesktop.GeoClue2.*"
  ],
  "modules": [
   {
    "name": "organicmaps",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "cleanup": [
     "/lib",
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/organicmaps/organicmaps",
      "commit": "d81f9197c6759f67aaed60f4f9c819e834dd02cd"
     },
     {
      "type": "patch",
      "path": "./desktopfile-icon.patch"
     },
     {
      "type": "patch",
      "path": "./changelog-2026.05.28-2.patch"
     },
     {
      "type": "patch",
      "path": "./disable-world-feed-integration-test.patch"
     },
     {
      "type": "shell",
      "commands": [
       "bash configure.sh",
       "for s in {32,64,128,256,512}; do ffmpeg -i qt/res/logo.png -s \"${s}x${s}\" -update true \"qt/res/logo_${s}x${s}.png\"; install -Dm644 \"qt/res/logo_${s}x${s}.png\" \"${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/${FLATPAK_ID}.png\"; done;"
      ]
     }
    ]
   }
  ]
 }
}