{
 "app_id": "org.bitcoin_safe.BitcoinSafe",
 "source_url": "https://raw.githubusercontent.com/flathub/org.bitcoin_safe.BitcoinSafe/master/org.bitcoin_safe.BitcoinSafe.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=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:14:11.961994+00:00",
 "manifest": {
  "app-id": "org.bitcoin_safe.BitcoinSafe",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "6.10",
  "command": "run-bitcoin-safe.sh",
  "separate-locales": false,
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1"
   ]
  },
  "cleanup": [
   "/share/bitcoin-safe/vendor",
   "/include",
   "/lib/pkgconfig",
   "/lib/python3.*/site-packages/Cryptodome/SelfTest",
   "/lib/python3.*/site-packages/psutil/tests",
   "/lib/python3.*/site-packages/qrcode/tests",
   "/lib/python3.*/site-packages/websocket/tests",
   "/share/doc",
   "/share/man"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=all"
  ],
  "modules": [
   {
    "name": "hidapi",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_SHARED_LIBS=ON",
     "-DHIDAPI_WITH_HIDRAW=ON",
     "-DHIDAPI_WITH_LIBUSB=ON",
     "-DHIDAPI_BUILD_HIDTEST=OFF",
     "-DHIDAPI_BUILD_TESTGUI=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libusb/hidapi.git",
      "tag": "hidapi-0.15.0",
      "commit": "d6b2a974608dec3b76fb1e36c189f22b9cf3650c"
     }
    ]
   },
   {
    "name": "zbar",
    "buildsystem": "autotools",
    "config-opts": [
     "--enable-pthread=no",
     "--enable-doc=no",
     "--with-python=no",
     "--with-gtk=no",
     "--with-qt=no",
     "--with-java=no",
     "--with-imagemagick=no",
     "--with-dbus=no",
     "--with-x=no",
     "--enable-video=no",
     "--with-jpeg=no",
     "--enable-codes=qrcode",
     "--disable-static",
     "--enable-shared"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mchehab/zbar.git",
      "tag": "0.23.93",
      "commit": "bb05ec54eec57f8397cb13fb9161372a281a1219"
     },
     {
      "type": "script",
      "dest-filename": "autogen.sh",
      "commands": [
       "exec autoreconf -vfi"
      ]
     }
    ]
   },
   "python3-build-backends.json",
   "python3-runtime.json",
   "python3-git-packages.json",
   {
    "name": "bitcoin-safe",
    "buildsystem": "simple",
    "build-commands": [
     "make -f tools/build_linux/flathub_flatpak/Makefile flatpak-app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/andreasgriffin/bitcoin-safe/archive/4ce099effa38e211e58c07b21822a19424b0b8c3.tar.gz",
      "sha256": "c792ea1629474813c3d859e1fd85f42dd0c801277d1e52e396a3b6a6030c24d0"
     }
    ]
   }
  ]
 }
}