{ "app-id": "com.github.epilys.rlr", "runtime": "org.freedesktop.Platform", "runtime-version": "24.08", "sdk": "org.freedesktop.Sdk", "sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"], "command": "rlr", "finish-args": [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--device=dri" ], "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin" }, "modules": [{ "name": "rlr", "buildsystem": "simple", "build-options": { "env": { "CARGO_HOME": "/run/build/rlr/cargo" } }, "build-commands": [ "cargo --offline fetch --manifest-path Cargo.toml --verbose", "cargo --offline build --release --verbose", "install -Dm755 ./target/release/rlr -t /app/bin/", "install -Dm644 ./data/${FLATPAK_ID}.Settings.gschema.xml -t /app/share/glib-2.0/schemas/", "glib-compile-schemas /app/share/glib-2.0/schemas/", "install -Dm644 ./data/${FLATPAK_ID}.desktop -t /app/share/applications/", "install -Dm644 ./data/${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/", "install -Dm644 ./data/${FLATPAK_ID}.png -t /app/share/icons/hicolor/scalable/apps/" ], "sources": [{ "type": "dir", "path": "." }, "cargo-sources.json" ] }] }