id: io.m51.Gelly runtime: org.gnome.Platform runtime-version: "49" sdk: org.gnome.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable command: gelly finish-args: - --socket=wayland - --socket=fallback-x11 - --share=ipc - --device=dri - --share=network - --socket=pulseaudio - --talk-name=org.freedesktop.secrets modules: - name: gelly buildsystem: simple build-options: append-path: /usr/lib/sdk/rust-stable/bin env: CARGO_HOME: /run/build/gelly/cargo CARGO_NET_OFFLINE: "true" build-commands: - cargo --offline fetch --manifest-path Cargo.toml --verbose - cargo build --offline --release --all-features - install -Dm0755 target/release/gelly ${FLATPAK_DEST}/bin/gelly - install -Dm644 resources/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg - install -Dm644 resources/${FLATPAK_ID}-symbolic.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg - install -Dm644 resources/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop - install -Dm644 resources/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml - install -Dm644 resources/${FLATPAK_ID}.gschema.xml ${FLATPAK_DEST}/share/glib-2.0/schemas/${FLATPAK_ID}.gschema.xml - glib-compile-schemas ${FLATPAK_DEST}/share/glib-2.0/schemas/ sources: - type: git url: https://github.com/Fingel/gelly.git tag: v1.1.2 commit: 46c3b15fce7d653499d5e86bda117840c59d1dce - cargo-sources.json