{
 "app_id": "org.karapulse.Karapulse",
 "source_url": "https://raw.githubusercontent.com/flathub/org.karapulse.Karapulse/master/org.karapulse.Karapulse.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=host"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:15:21.276285+00:00",
 "manifest": {
  "app-id": "org.karapulse.Karapulse",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "karapulse",
  "finish-args": [
   "--filesystem=host",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri"
  ],
  "cleanup": [
   "/sdk",
   "/lib/node_modules",
   "/bin/npm",
   "/bin/node",
   "/bin/npx",
   "/lib/libgst*",
   "/pkgconfig",
   "/share/gstreamer-1.0",
   "/lib/pkgconfig",
   "/include",
   "/bin/gst-*",
   "/bin/qrencode"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/app/sdk/bin",
   "env": {
    "RUSTFLAGS": "--remap-path-prefix =../",
    "CARGO_HOME": "/run/build/karapulse/cargo",
    "RUST_BACKTRACE": "1",
    "RUST_LOG": "karapulse=debug"
   }
  },
  "modules": [
   {
    "name": "nodejs",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://nodejs.org/dist/v24.13.0/node-v24.13.0-linux-x64.tar.xz",
      "sha256": "e798599612f4bb71333a3397ab0d095fd62214e115aea45aa858a145fc72d67e"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://nodejs.org/dist/v24.13.0/node-v24.13.0-linux-arm64.tar.xz",
      "sha256": "aa881151bd0f9f154a0424dd60a72e9ce10672619121658c278a24327ef46831"
     }
    ],
    "build-commands": [
     "mkdir /app/sdk ; cp -r * /app/sdk/"
    ]
   },
   {
    "name": "qrencode",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "http://deb.debian.org/debian/pool/main/q/qrencode/qrencode_4.1.1.orig.tar.bz2",
      "sha512": "981b3242c213e1b40ac88711912dd8c27ea11f3437d1a04b6b226499a6e991a8f0b3b10f818bcc104812192a1dac4ce05f16ecd847a50cb03d4859b84bad89b8"
     }
    ]
   },
   {
    "name": "gstqroverlay",
    "buildsystem": "meson",
    "config-opts": [
     "--auto-features=disabled",
     "-Dqroverlay=enabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.26.6.tar.xz",
      "sha256": "b3bf4b1ad3017eac1fcf1209eae8a61208f8ef43b9b1ef99b9366acf14d74a79"
     }
    ]
   },
   {
    "name": "noto-sans-cjk-fonts",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/notofonts/noto-cjk/releases/download/Sans2.004/00_NotoSansCJK.ttc.zip",
      "sha256": "a56077736038875f3a5b1e6715b2713a2bd049cc0bf0dfdf645927b070d38bfc"
     }
    ],
    "build-commands": [
     "install -Dm644 NotoSansCJK.ttc /app/share/fonts/noto-cjk/NotoSansCJK.ttc",
     "install -Dm644 LICENSE /app/share/licenses/noto-cjk/LICENSE"
    ]
   },
   {
    "name": "karapulse",
    "buildsystem": "meson",
    "config-opts": [
     "-Dcdg-plugin=enabled",
     "-Dnpm-cache=/run/build/karapulse/flatpak-node/npm-cache/",
     "-Doffline=true"
    ],
    "sources": [
     "npm-generated-sources.json",
     "cargo-generated-sources.json",
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/gdesmott/karapulse.git",
      "tag": "0.8.0",
      "commit": "eb9b45645a4f95ac3651bb218d3699ffd2daf0c4"
     }
    ]
   }
  ]
 }
}