app-id: io.github.hedgieinsocks.Namplay runtime: org.gnome.Platform runtime-version: "50" sdk: org.gnome.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable command: namplay finish-args: - --socket=wayland - --socket=fallback-x11 - --share=ipc - --share=network - --filesystem=xdg-run/pipewire-0 - --filesystem=home - --talk-name=org.kde.StatusNotifierWatcher - --own-name=io.github.hedgieinsocks.Namplay build-options: append-path: /usr/lib/sdk/rust-stable/bin env: CARGO_HOME: /run/build/namplay/cargo RUSTFLAGS: "-C target-cpu=x86-64-v3" modules: - name: blueprint-compiler buildsystem: meson sources: - type: git url: https://gitlab.gnome.org/jwestman/blueprint-compiler tag: v0.22.2 - name: namplay buildsystem: simple build-commands: - cargo build --release --offline - install -Dm755 target/release/namplay /app/bin/namplay - install -Dm644 data/io.github.hedgieinsocks.Namplay.desktop /app/share/applications/io.github.hedgieinsocks.Namplay.desktop - install -Dm644 data/io.github.hedgieinsocks.Namplay.svg /app/share/icons/hicolor/128x128/apps/io.github.hedgieinsocks.Namplay.svg - install -Dm644 data/io.github.hedgieinsocks.Namplay.gschema.xml /app/share/glib-2.0/schemas/io.github.hedgieinsocks.Namplay.gschema.xml - install -Dm644 data/io.github.hedgieinsocks.Namplay.service /app/share/dbus-1/services/io.github.hedgieinsocks.Namplay.service - glib-compile-schemas /app/share/glib-2.0/schemas sources: - type: dir path: . - cargo-sources.json