{
 "app_id": "com.rtosta.zapzap",
 "source_url": "https://raw.githubusercontent.com/flathub/com.rtosta.zapzap/master/com.rtosta.zapzap.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=xdg-download",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:08:44.491713+00:00",
 "manifest": {
  "app-id": "com.rtosta.zapzap",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "6.11",
  "command": "zapzap",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=all",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--env=QTWEBENGINE_DICTIONARIES_PATH=/app/qtwebengine_dictionaries"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "*.la",
   "*.a"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "modules": [
   {
    "name": "python-build-deps",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=${FLATPAK_DEST} setuptools wheel"
    ],
    "sources": []
   },
   {
    "name": "zapzap",
    "buildsystem": "simple",
    "build-commands": [
     "cat > zapzap/BuildInfo.py << EOF\nBUILD_CHANNEL = \"Official\"\nBUILD_PROVIDER = \"Flathub\"\nBUILD_REPOSITORY = \"flathub/com.rtosta.zapzap\"\nBUILD_PACKAGING = \"Flatpak\"\nEOF\n",
     "python3 -m build --wheel --no-isolation",
     "pip3 install --prefix=${FLATPAK_DEST} dist/zapzap-*.whl",
     "install -Dm644 share/icons/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 share/applications/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 share/metainfo/${FLATPAK_ID}.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/rafatosta/zapzap.git",
      "tag": "7.4.4"
     }
    ]
   }
  ]
 }
}