{
 "app_id": "org.openhush.OpenHush",
 "source_url": "https://raw.githubusercontent.com/claymore666/openhush/main/packaging/flatpak/org.openhush.OpenHush.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--own-name=org.openhush.Daemon1",
  "--share=network",
  "--filesystem=xdg-config/openhush:create",
  "--filesystem=xdg-data/openhush:create"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:55:52.460558+00:00",
 "manifest": {
  "app-id": "org.openhush.OpenHush",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm18"
  ],
  "command": "openhush",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--own-name=org.openhush.Daemon1",
   "--share=network",
   "--filesystem=xdg-config/openhush:create",
   "--filesystem=xdg-data/openhush:create"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
   "env": {
    "CARGO_HOME": "/run/build/openhush/cargo",
    "RUSTFLAGS": "-L /usr/lib/sdk/llvm18/lib"
   }
  },
  "modules": [
   {
    "name": "alsa-lib",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.12.tar.bz2",
      "sha256": "4868cd908627c2bcd6d56ca5b1bda1f3bc2e8ae30d1bfa390a2f1f06b4e2748a"
     }
    ]
   },
   {
    "name": "openhush",
    "buildsystem": "simple",
    "build-commands": [
     "cargo build --release --locked",
     "install -Dm755 target/release/openhush /app/bin/openhush",
     "install -Dm644 packaging/flatpak/org.openhush.OpenHush.desktop /app/share/applications/org.openhush.OpenHush.desktop",
     "install -Dm644 packaging/flatpak/org.openhush.OpenHush.metainfo.xml /app/share/metainfo/org.openhush.OpenHush.metainfo.xml",
     "install -Dm644 LICENSE /app/share/licenses/openhush/LICENSE"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/claymore666/openhush.git",
      "tag": "v0.8.0"
     }
    ]
   }
  ]
 }
}