2026-11-13 20:09:25 +01:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2026-11-13 20:49:07 +01:00
|
|
|
- sh scripts/install-flatpak-assets.sh
|
|
|
|
|
|
2026-11-13 20:09:25 +01:00
|
|
|
- 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
|