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: # Display & Windowing - --share=ipc - --socket=fallback-x11 - --socket=wayland # Direct hardware access for evdev remote grab & virtual uinput creation - --device=all # Audio & Bluetooth - --socket=pulseaudio - --filesystem=xdg-run/pipewire-0 - --system-talk-name=org.bluez # D-Bus permissions for ATVVoice and Voice Daemon - --own-name=org.atvvoice.chromecast-remote - --own-name=org.local.Dictation # Portals & Notifications - --talk-name=org.freedesktop.portal.Background - --talk-name=org.freedesktop.portal.Desktop - --talk-name=org.freedesktop.Notifications # Configuration & Cache storage - --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: .