{
 "app_id": "io.github.chidiwilliams.Buzz",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.chidiwilliams.Buzz/master/io.github.chidiwilliams.Buzz.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-desktop",
  "--filesystem=xdg-music",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=xdg-videos",
  "--filesystem=xdg-download",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:10:45.056542+00:00",
 "manifest": {
  "app-id": "io.github.chidiwilliams.Buzz",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "buzz",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.secrets",
   "--device=dri",
   "--share=network",
   "--share=ipc",
   "--filesystem=xdg-desktop",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=xdg-videos",
   "--env=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib/python3.12/site-packages/nvidia/cudnn/lib:/app/lib/python3.12/site-packages/nvidia/cublas/lib"
  ],
  "modules": [
   "buzz-pip-dependencies.json",
   {
    "name": "portaudio",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PortAudio/portaudio/archive/refs/tags/v19.7.0.tar.gz",
      "sha256": "5af29ba58bbdbb7bbcefaaecc77ec8fc413f0db6f4c4e286c40c3e1b83174fa0"
     }
    ]
   },
   {
    "name": "kerberos",
    "subdir": "src",
    "build-options": {
     "cflags": "-std=gnu17"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://kerberos.org/dist/krb5/1.22/krb5-1.22.1.tar.gz",
      "sha256": "1a8832b8cad923ebbf1394f67e2efcf41e3a49f460285a66e35adec8fa0053af"
     }
    ]
   },
   {
    "name": "buzz-captions",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} --no-build-isolation --no-deps buzz-captions"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/chidiwilliams/buzz/releases/download/v1.4.5/buzz_captions-1.4.5-py3-none-manylinux_2_34_x86_64.whl",
      "sha256": "7b5ab36b0c08b8528875eca8b97bab29f7833859f076645bc0848df27f7f19ad"
     }
    ]
   },
   {
    "name": "Buzz",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 io.github.chidiwilliams.Buzz.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "sed -i \"s/^Icon=Buzz\\$/Icon=${FLATPAK_ID}/\" Buzz.desktop",
     "install -Dm644 Buzz.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "mkdir -p ${FLATPAK_DEST}/share/kstyle"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/chidiwilliams/buzz/93559530abcd95393cbe52b478598c93dfc5d1b0/share/icons/io.github.chidiwilliams.Buzz.svg",
      "sha256": "0aac4a0dbedc4cac1ecbbee027b08f9fe82a566c502a273074bf44c31de6e14b"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/chidiwilliams/buzz/0369146be2f9795b752e4ac00d28256001ab5da9/Buzz.desktop",
      "sha256": "ec3e417d9d6a425944d936605496200bd573d5432428ca2a863b127988fd9abc"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/chidiwilliams/buzz/749001cb170a861cb7adde859e7812cf0811461c/share/metainfo/io.github.chidiwilliams.Buzz.metainfo.xml",
      "sha256": "722bc267c5e210636da3b8d8311f8eedd0bead2a1f33681e8b57d709920c4f87"
     }
    ]
   }
  ],
  "add-extensions": {
   "org.kde.KStyle.Adwaita": {
    "directory": "share/kstyle",
    "version": "6.10",
    "subdirectories": true,
    "autodelete": false
   }
  }
 }
}