app-id: io.github.verasd.CounterApplet runtime: org.freedesktop.Platform runtime-version: '25.08' base: com.system76.Cosmic.BaseApp base-version: 'stable' sdk: org.freedesktop.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable build-options: append-path: /usr/lib/sdk/rust-stable/bin env: CARGO_HOME: /run/build/counter-applet/cargo command: counter-applet finish-args: - --socket=wayland - --socket=fallback-x11 - --share=ipc modules: - name: counter-applet buildsystem: simple build-commands: - cargo build --release --offline - install -Dm755 target/release/counter-applet /app/bin/counter-applet - install -Dm644 io.github.verasd.CounterApplet.desktop /app/share/applications/io.github.verasd.CounterApplet.desktop - install -Dm644 res/io.github.verasd.CounterApplet-symbolic.svg /app/share/icons/hicolor/scalable/apps/io.github.verasd.CounterApplet-symbolic.svg - install -Dm644 io.github.verasd.CounterApplet.metainfo.xml /app/share/metainfo/io.github.verasd.CounterApplet.metainfo.xml sources: - type: dir path: . - cargo-sources.json