{
 "app_id": "io.github.irelandqlan.Pilot",
 "source_url": "https://raw.githubusercontent.com/irelandqlan/pilot/master/io.github.irelandqlan.Pilot.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=all",
  "--socket=pulseaudio",
  "--filesystem=xdg-run/pipewire-0",
  "--system-talk-name=org.bluez",
  "--own-name=org.atvvoice.chromecast-remote",
  "--own-name=org.local.Dictation",
  "--talk-name=org.freedesktop.portal.Background",
  "--talk-name=org.freedesktop.portal.Desktop",
  "--talk-name=org.freedesktop.Notifications",
  "--filesystem=xdg-config/pilot:create",
  "--filesystem=xdg-config/chromecast-remote:create",
  "--filesystem=xdg-cache/huggingface:create",
  "--share=network"
 ],
 "module_count": 1,
 "fetched_at": "2026-10-05T15:42:10.219322+00:00",
 "manifest": {
  "app-id": "io.github.irelandqlan.Pilot",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "pilot",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0",
   "--system-talk-name=org.bluez",
   "--own-name=org.atvvoice.chromecast-remote",
   "--own-name=org.local.Dictation",
   "--talk-name=org.freedesktop.portal.Background",
   "--talk-name=org.freedesktop.portal.Desktop",
   "--talk-name=org.freedesktop.Notifications",
   "--filesystem=xdg-config/pilot:create",
   "--filesystem=xdg-config/chromecast-remote:create",
   "--filesystem=xdg-cache/huggingface:create",
   "--share=network"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "build-args": [
    "--share=network"
   ],
   "env": {
    "CARGO_HOME": "/run/build/pilot/cargo"
   }
  },
  "modules": [
   {
    "name": "pilot",
    "buildsystem": "simple",
    "build-commands": [
     "pip install --no-cache-dir --prefix=/app \"av<19\" evdev faster-whisper dbus-fast nvidia-cublas-cu12",
     "cargo build --release",
     "install -Dm755 target/release/pilot /app/bin/pilot",
     "ln -s pilot /app/bin/chromecast-settings",
     "install -Dm755 bin/pilot-ctl /app/bin/pilot-ctl",
     "ln -s pilot-ctl /app/bin/chromecast-ctl",
     "install -Dm755 bin/atvvoice /app/bin/atvvoice",
     "install -Dm755 voice_daemon.py /app/libexec/pilot/voice_daemon.py",
     "install -Dm644 config.toml /app/share/pilot/config.toml",
     "install -Dm644 data/io.github.irelandqlan.Pilot.desktop /app/share/applications/io.github.irelandqlan.Pilot.desktop",
     "install -Dm644 data/io.github.irelandqlan.Pilot.svg /app/share/icons/hicolor/scalable/apps/io.github.irelandqlan.Pilot.svg",
     "install -d /app/share/icons/hicolor/scalable/actions",
     "install -m644 data/icons/*.svg /app/share/icons/hicolor/scalable/actions/",
     "install -Dm644 data/io.github.irelandqlan.Pilot.metainfo.xml /app/share/metainfo/io.github.irelandqlan.Pilot.metainfo.xml"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     }
    ]
   }
  ]
 }
}