{ "app-id": "com.github.marinm.songrec", "runtime": "org.freedesktop.Platform", "runtime-version": "23.08", "sdk": "org.freedesktop.Sdk", "sdk-extensions" : [ "org.freedesktop.Sdk.Extension.rust-stable" ], "command": "songrec", "finish-args": [ "--share=network", "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--device=all", "--filesystem=home:ro", "--socket=pulseaudio" ], "build-options": { "append-path" : "/usr/lib/sdk/rust-stable/bin", "env" : { "CARGO_HOME" : "/run/build/songrec/.cargo" } }, "modules": [ { "name": "songrec", "buildsystem": "simple", "build-commands": [ "cargo --offline fetch --verbose", "cargo --offline build --release --verbose", "install -Dm755 ./target/release/songrec -t /app/bin/", "cp -ra ./packaging/rootfs/usr/share /app/", "mkdir -p /app/share/songrec", "cp -ra ./translations /app/share/songrec" ], "sources": [ { "type": "dir", "path": "../../" } ] } ] }