SimPaM/patient-monitor-simulation/at.criticalcare.SimPaM.yml
GABRIEL Sebastian 56f9f2e932 v0.6.11 — Native PulseAudio / PipeWire audio output
Replaced external `pw-play` / `paplay` subprocesses and temporary WAV files
with two dedicated Rust playback workers using `libpulse-simple-binding`.
The existing two-tone alarm sounds, SpO₂-dependent QRS tones, rhythms, mute
controls, alarm priorities and selective alarm-pause logic are retained.
A manual test tone remains available with audible alarms switched off.
Flatpak requires the PulseAudio socket and `libpulse-simple` in its SDK/runtime.
2026-11-13 20:09:25 +01:00

57 lines
1.1 KiB
YAML

app-id: at.criticalcare.SimPaM
runtime: org.gnome.Platform
runtime-version: "51"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: patient-monitor-simulation
finish-args:
# GTK4 / display
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --device=dri
# Audio (PulseAudio / PipeWire)
- --socket=pulseaudio
# Instructor web interface / TCP server
- --share=network
modules:
- name: simpam
buildsystem: simple
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
CARGO_HOME: /run/build/simpam/cargo
CARGO_NET_OFFLINE: "true"
build-commands:
- cargo build --release --locked --offline
- install -Dm755
target/release/patient-monitor-simulation
/app/bin/patient-monitor-simulation
- install -Dm644
at.criticalcare.SimPaM.desktop
/app/share/applications/at.criticalcare.SimPaM.desktop
sources:
- type: dir
path: .
skip:
- target
- build-flatpak
- flatpak-repo
- .flatpak-builder
- .git
- cargo-sources.json