{
 "app_id": "org.mozilla.vpn",
 "source_url": "https://raw.githubusercontent.com/flathub/org.mozilla.vpn/master/org.mozilla.vpn.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "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",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--system-talk-name=org.freedesktop.NetworkManager"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:16:05.499503+00:00",
 "manifest": {
  "app-id": "org.mozilla.vpn",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "mozillavpn",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--system-talk-name=org.freedesktop.NetworkManager"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "/share/doc"
  ],
  "modules": [
   {
    "name": "python3-pyyaml",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"PyYAML\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz",
      "sha256": "d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f"
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "qt5compat",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "git",
      "tag": "v6.10.1",
      "url": "https://github.com/qt/qt5compat"
     }
    ]
   },
   {
    "name": "mozillavpn",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_FLATPAK=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mozilla-mobile/mozilla-vpn-client",
      "tag": "v2.39.0",
      "commit": "226e58fa555d0ee056ee3d7591dfdc6693ba64ce",
      "x-checker-data": {
       "type": "json",
       "url": "https://mozilla.github.io/mozillavpn-product-details/mozillavpn.json",
       "tag-query": "(\"v\" + .latest[\"LINUX\"])",
       "timestamp-query": ".releases[.latest[\"LINUX\"]].date",
       "is-main-source": true
      }
     },
     {
      "type": "file",
      "path": "org.mozilla.vpn.releases.xml",
      "dest": "linux/extra",
      "dest-filename": "org.mozilla.vpn.releases.xml.in"
     },
     "flatpak-vpn-crates.json",
     {
      "type": "shell",
      "commands": [
       "mkdir .cargo",
       "cp cargo/config .cargo/config.toml"
      ]
     }
    ]
   }
  ]
 }
}