{
 "app_id": "org.torproject.torbrowser-launcher",
 "source_url": "https://raw.githubusercontent.com/flathub/org.torproject.torbrowser-launcher/master/org.torproject.torbrowser-launcher.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=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.a11y.Bus"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-20T07:03:04.472241+00:00",
 "manifest": {
  "app-id": "org.torproject.torbrowser-launcher",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "base": "io.qt.PySide.BaseApp",
  "base-version": "6.11",
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1",
    "BASEAPP_DISABLE_NUMPY=1"
   ]
  },
  "separate-locales": false,
  "command": "torbrowser-launcher",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=pulseaudio",
   "--env=GTK_USE_PORTAL=1",
   "--talk-name=org.a11y.Bus"
  ],
  "modules": [
   {
    "name": "SWIG",
    "config-opts": [
     "--without-boost",
     "--without-alllang"
    ],
    "cleanup": [
     "/bin",
     "/share/swig"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/swig/files/swig/swig-4.5.0/swig-4.5.0.tar.gz",
      "sha256": "22ae0e887f8cca8031a325c67d005207653200b40e71edb3f88780e28e47d0ff",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4919,
       "url-template": "https://sourceforge.net/projects/swig/files/swig/swig-$version/swig-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "python3-requests",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} requests"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/6d/44/f5da03a8ef95d369145c5bb53050e7877c9f3d312e128605fd9504829143/setuptools-84.0.0.tar.gz",
      "sha256": "f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73",
      "x-checker-data": {
       "type": "pypi",
       "name": "setuptools"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/d0/20/50ed6bdf27dec98b568a8ae25dc599f35baa3d9709f9e83fd1edb56b9a90/wheel-0.48.0.tar.gz",
      "sha256": "94800765601e9171bf5d58d066e640662842bcedcbab982b2c90787a2c987322",
      "x-checker-data": {
       "type": "pypi",
       "name": "wheel"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/e7/91/add211b38c357bf1b94900b4f79c34661a92be65c0243d2b0a3393c5092d/flit_core-4.1.0.tar.gz",
      "sha256": "62e12b63ead8335b37f59fabb977c7167fe476dafb5e41785dfa8c9aff843bc6",
      "x-checker-data": {
       "type": "pypi",
       "name": "flit_core"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/5f/f7/abb373e5757eaec4b922b92f97ec8d6d7e057cf06778247604fbc4e7c3f3/idna-3.19.tar.gz",
      "sha256": "5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15",
      "x-checker-data": {
       "type": "pypi",
       "name": "idna"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz",
      "sha256": "f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed",
      "x-checker-data": {
       "type": "pypi",
       "name": "requests"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz",
      "sha256": "741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55",
      "x-checker-data": {
       "type": "pypi",
       "name": "certifi"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/e4/e8/6ff5e6bc22095cfc59b6ea711b687e2b7ed4bdb373f7eeec370a97d7392f/urllib3-1.26.20.tar.gz",
      "sha256": "40c2dc0c681e47eb8f90e7e27bf6ff7df2e677421fd46756da1161c39ca70d32",
      "x-checker-data": {
       "type": "pypi",
       "name": "urllib3",
       "versions": {
        "<": "2",
        ">=": "1.21.1"
       }
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/a1/34/44964211e5410b051e4b8d2869c470ae8a68ae274953b1c7de6d98bbcf94/charset-normalizer-2.1.1.tar.gz",
      "sha256": "5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845",
      "x-checker-data": {
       "type": "pypi",
       "name": "charset-normalizer",
       "versions": {
        "<": "3",
        ">=": "2"
       }
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/b1/51/cd61c567092a6cec796144510a68aff158ebfc1df82950a45bae65f28413/chardet-7.6.0.tar.gz",
      "sha256": "93d9df6089ded42ed1fe9f57e272c0b74bd0464d45c0c7d50f09f26f31105c3c",
      "x-checker-data": {
       "type": "pypi",
       "name": "chardet"
      }
     }
    ]
   },
   {
    "name": "python3-socks",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=${FLATPAK_DEST} --root=/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/bd/11/293dd436aea955d45fc4e8a35b6ae7270f5b8e00b53cf6c024c83b657a11/PySocks-1.7.1.tar.gz",
      "sha256": "3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0",
      "x-checker-data": {
       "type": "pypi",
       "name": "PySocks"
      }
     }
    ]
   },
   {
    "name": "python3-packaging",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} packaging"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl",
      "sha256": "4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274",
      "x-checker-data": {
       "type": "pypi",
       "name": "six",
       "packagetype": "bdist_wheel"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl",
      "sha256": "d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c",
      "x-checker-data": {
       "type": "pypi",
       "name": "packaging",
       "packagetype": "bdist_wheel"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl",
      "sha256": "850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d",
      "x-checker-data": {
       "type": "pypi",
       "name": "pyparsing",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "python3-distro",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} distro"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl",
      "sha256": "7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2",
      "x-checker-data": {
       "type": "pypi",
       "name": "distro",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "python3-gpg",
    "buildsystem": "simple",
    "build-options": {
     "cflags": "-Wno-implicit-function-declaration -Wno-int-conversion"
    },
    "build-commands": [
     "autoreconf -fiv",
     "./configure",
     "mv src gpg",
     "pip3 install --no-build-isolation --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} ."
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/gpg/gpgmepy.git",
      "tag": "gpgmepy-2.0.0",
      "commit": "22e1cd5fdea1f62690fba55cf616bde97c1ac5d3",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^gpgmepy-([\\d.]+)$"
      }
     },
     {
      "type": "patch",
      "paths": [
       "gpgmepy-python-3.13.patch"
      ]
     }
    ]
   },
   {
    "name": "torbrowser-launcher",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/archive/v0.3.9/torbrowser-launcher-v0.3.9.tar.gz",
      "sha256": "267483c88760dacf4af2d480d2d0b094f3ffd10f8fd0f3e5f52c61df91e9ccdb",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6359,
       "url-template": "https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/archive/v$version/torbrowser-launcher-v$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "use-flatpak-sys-prefix.patch"
     },
     {
      "type": "patch",
      "path": "metainfo-add-bug-tracker.patch"
     },
     {
      "type": "patch",
      "path": "metainfo-screenshot-url.patch"
     }
    ],
    "build-commands": [
     "python3 setup.py install --prefix=${FLATPAK_DEST} --root=/ --optimize=1"
    ]
   }
  ]
 }
}