{
 "app_id": "io.github.Aiacos.AjazzControlCenter",
 "source_url": "https://raw.githubusercontent.com/Aiacos/ajazz-control-center/develop/packaging/flathub/io.github.Aiacos.AjazzControlCenter.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.8",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--device=usb",
  "--filesystem=xdg-config/ajazz-control-center:create",
  "--filesystem=xdg-data/ajazz-control-center:create"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-20T12:57:22.307654+00:00",
 "manifest": {
  "app-id": "io.github.Aiacos.AjazzControlCenter",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.8",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "ajazz-control-center",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--device=usb",
   "--filesystem=xdg-config/ajazz-control-center:create",
   "--filesystem=xdg-data/ajazz-control-center:create"
  ],
  "modules": [
   {
    "name": "hidapi",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DHIDAPI_BUILD_HIDTEST=OFF",
     "-DHIDAPI_WITH_TESTS=OFF",
     "-DHIDAPI_WITH_LIBUSB=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libusb/hidapi.git",
      "tag": "hidapi-0.14.0",
      "commit": "d3013f0af3f4029d82872c1a9487ea461a56dee4"
     }
    ]
   },
   {
    "name": "pybind11",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DPYBIND11_TEST=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/pybind/pybind11.git",
      "tag": "v2.13.6",
      "commit": "a2e59f0e7065404b44dfe92a28aca47ba1378dc4"
     }
    ]
   },
   {
    "name": "nlohmann-json",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DJSON_BuildTests=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/nlohmann/json.git",
      "tag": "v3.12.0",
      "commit": "55f93686c01528224f448c19128836e7df245f72"
     }
    ]
   },
   {
    "name": "ajazz-control-center",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DAJAZZ_BUILD_TESTS=OFF",
     "-DAJAZZ_ENABLE_WERROR=OFF",
     "-DAJAZZ_USE_SYSTEM_DEPS=ON",
     "-DAJAZZ_INSTALL_UDEV_RULES=OFF",
     "-DAJAZZ_BUILD_SIDECAR=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Aiacos/ajazz-control-center.git",
      "tag": "v0.1.0",
      "commit": "731c70b2b0bc078b317fcc97fa2e8ae9c22a8c22"
     }
    ],
    "post-install": [
     "mv /app/share/applications/ajazz-control-center.desktop /app/share/applications/io.github.Aiacos.AjazzControlCenter.desktop",
     "sed -i 's/^Icon=.*/Icon=io.github.Aiacos.AjazzControlCenter/' /app/share/applications/io.github.Aiacos.AjazzControlCenter.desktop",
     "sed -i 's#<launchable type=\"desktop-id\">ajazz-control-center.desktop</launchable>#<launchable type=\"desktop-id\">io.github.Aiacos.AjazzControlCenter.desktop</launchable>#' /app/share/metainfo/io.github.Aiacos.AjazzControlCenter.appdata.xml",
     "rm -f /app/share/icons/hicolor/scalable/apps/io.github.Aiacos.AjazzControlCenter.svg"
    ]
   },
   {
    "name": "streamdock-host",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/streamdock-host/cargo"
     }
    },
    "build-commands": [
     "cargo --offline build --release --manifest-path streamdock-host/Cargo.toml",
     "install -Dm755 streamdock-host/target/release/streamdock-host /app/bin/streamdock-host"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Aiacos/ajazz-control-center.git",
      "tag": "v0.1.0",
      "commit": "731c70b2b0bc078b317fcc97fa2e8ae9c22a8c22"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}