app-id: io.github.dividebysandwich.rusty-pipes runtime: org.freedesktop.Platform runtime-version: '25.08' sdk: org.freedesktop.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable - org.freedesktop.Sdk.Extension.llvm20 command: rusty-pipes # Permissions required for Audio, MIDI, and GUI finish-args: # Graphical Server - --socket=fallback-x11 - --socket=wayland - --device=dri - --share=ipc # Audio (PulseAudio/Pipewire) - --socket=pulseaudio # High-performance audio (PipeWire/JACK) - --filesystem=xdg-run/pipewire-0 - --filesystem=xdg-run/jack # Access to user music directory for organ samples - --filesystem=xdg-music # MIDI Hardware access (ALSA Sequencer) - --device=all build-options: append-path: /usr/lib/sdk/rust-stable/bin modules: - name: rusty-pipes buildsystem: simple build-options: env: SWAGGER_UI_DOWNLOAD_URL: file:///run/build/rusty-pipes/swagger-ui.zip CMAKE_POLICY_VERSION_MINIMUM: "3.5" LIBCLANG_PATH: /usr/lib/sdk/llvm20/lib build-commands: - cargo --offline fetch --manifest-path Cargo.toml - | CLANG_VERSION=$(ls /usr/lib/sdk/llvm20/lib/clang) export BINDGEN_EXTRA_CLANG_ARGS="-I/usr/lib/sdk/llvm20/lib/clang/$CLANG_VERSION/include" cargo --offline build --release --manifest-path Cargo.toml - install -D target/release/rusty-pipes /app/bin/rusty-pipes - install -D -m 644 assets/rusty-pipes.png /app/share/icons/hicolor/128x128/apps/io.github.dividebysandwich.rusty-pipes.png - install -D -m 644 assets/rusty-pipes.desktop /app/share/applications/io.github.dividebysandwich.rusty-pipes.desktop sources: - type: dir path: . - type: file url: https://github.com/swagger-api/swagger-ui/archive/refs/tags/v5.17.14.zip sha256: 481244d0812097b11fbaeef79f71d942b171617f9c9f9514e63acbe13e71ccdc dest-filename: swagger-ui.zip