{ "app-id": "rs.bxt.Plitki", "runtime": "org.gnome.Platform", "runtime-version": "49", "sdk": "org.gnome.Sdk", "sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"], "command": "plitki-gnome", "tags": [ "nightly" ], "finish-args" : [ "--filesystem=host", "--filesystem=~/.var/app/com.valvesoftware.Steam", "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--socket=pulseaudio", "--device=dri", "--env=RUST_BACKTRACE=1" ], "build-options" : { "append-path" : "/usr/lib/sdk/rust-stable/bin", "build-args" : [ "--share=network" ], "env" : { "CARGO_HOME" : ".cargo-home" } }, "modules": [ { "name": "plitki", "buildsystem": "simple", "build-commands": [ "cargo build --workspace --release" ], "post-install": [ "install -Dt $FLATPAK_DEST/bin target/release/plitki-{gtk,gnome}", "install -Dm0644 -t $FLATPAK_DEST/share/applications rs.bxt.Plitki.desktop", "install -Dm0644 -t $FLATPAK_DEST/share/glib-2.0/schemas plitki-gnome/rs.bxt.Plitki.gschema.xml", "glib-compile-schemas $FLATPAK_DEST/share/glib-2.0/schemas" ], "test-commands": [ "cargo clippy --all-targets --workspace --release", "cargo test --no-run --workspace --release", "cargo test --workspace --release" ], "sources": [ { "type": "dir", "path": "." } ] } ] }