{
 "app_id": "uk.co.piggz.amazfish",
 "source_url": "https://raw.githubusercontent.com/flathub/uk.co.piggz.amazfish/master/uk.co.piggz.amazfish.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-24.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--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",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.mpris.MediaPlayer2.*",
  "--talk-name=io.github.rinigus.PureMaps",
  "--system-talk-name=org.bluez"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T17:22:31.654776+00:00",
 "manifest": {
  "app-id": "uk.co.piggz.amazfish",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-24.08",
  "sdk": "org.kde.Sdk",
  "command": "run-amazfish.sh",
  "rename-icon": "harbour-amazfish-ui",
  "rename-desktop-file": "harbour-amazfish-ui.desktop",
  "rename-appdata-file": "harbour-amazfish-ui.appdata.xml",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--system-talk-name=org.bluez",
   "--talk-name=org.mpris.MediaPlayer2.*",
   "--talk-name=io.github.rinigus.PureMaps",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/mkspecs",
   "/share/qt5/mkspecs",
   "*.a"
  ],
  "modules": [
   {
    "name": "nemo-qml-plugin-dbus",
    "buildsystem": "qmake",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sailfishos/nemo-qml-plugin-dbus/archive/refs/tags/2.1.38.tar.gz",
      "sha256": "201bdbe1c1eac81e572483af4f5f3558e2e932fc217dc53daa8a425d99d64263"
     },
     {
      "type": "patch",
      "path": "nemodbus-qmake.patch"
     }
    ]
   },
   {
    "name": "qtmpris",
    "buildsystem": "qmake",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sailfishos/qtmpris/archive/refs/tags/1.0.6.tar.gz",
      "sha256": "384eac76ec7d29d1de6fa93c45007ccd506d6cc0e4c69e19d4250e16cc0f34a2"
     },
     {
      "type": "patch",
      "path": "qtmpris-qmake.patch"
     }
    ]
   },
   {
    "name": "libkdb3",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/libraries/kdb.git",
      "commit": "337c56f84010efdb1189bffae380e80ad97c7b10"
     },
     {
      "type": "patch",
      "path": "libkdb3-features.patch"
     }
    ]
   },
   {
    "name": "maplibre-gl-native-qt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DMLN_QT_WITH_WIDGETS=OFF",
     "-DMLN_QT_WITH_LOCATION=OFF",
     "-DMLN_QT_WITH_INTERNAL_ICU=ON",
     "-DCMAKE_INSTALL_LIBDIR=lib"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/maplibre/maplibre-native-qt.git",
      "commit": "85673cbe94d6ec0d9e7a35952375c24cb5f51589",
      "disable-shallow-clone": true
     }
    ]
   },
   {
    "name": "mapbox-gl-qml",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DQT_INSTALL_QML=/app/lib/qml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/rinigus/mapbox-gl-qml.git",
      "commit": "0ad5328c47cb717e42bbad49e6261808de8750a0"
     }
    ]
   },
   {
    "name": "harbour-amazfish",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DFLAVOR=kirigami",
     "-DDISABLE_SYSTEMD=yes"
    ],
    "post-install": [
     "install -Dm755 run-amazfish.sh /app/bin/run-amazfish.sh",
     "install -Dm644 ui/icons/128x128/harbour-amazfish-ui.png /app/share/icons/hicolor/128x128/apps/harbour-amazfish-ui.png",
     "install -Dm644 ui/harbour-amazfish-ui.appdata.xml /app/share/appdata/harbour-amazfish-ui.appdata.xml",
     "desktop-file-edit --set-key=Exec --set-value='run-amazfish.sh' /app/share/applications/harbour-amazfish-ui.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/piggz/harbour-amazfish.git",
      "tag": "2.9.0"
     },
     {
      "type": "file",
      "path": "run-amazfish.sh"
     }
    ]
   }
  ]
 }
}