app-id: com.scythe.Scythe runtime: org.gnome.Platform runtime-version: '46' sdk: org.gnome.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable command: scythe finish-args: - --share=ipc - --socket=fallback-x11 - --socket=wayland - --socket=pulseaudio - --filesystem=xdg-videos - --filesystem=xdg-run/pipewire-0:ro - --device=all - --talk-name=org.freedesktop.portal.Desktop - --talk-name=org.freedesktop.portal.ScreenCast build-options: append-path: /usr/lib/sdk/rust-stable/bin env: CARGO_HOME: /run/build/scythe/cargo modules: - name: scythe buildsystem: simple build-commands: - cargo build --release --verbose - install -Dm755 target/release/scythe /app/bin/scythe - ln -sf /app/bin/scythe /app/bin/scythe-daemon - ln -sf /app/bin/scythe /app/bin/scythe-ui - ln -sf /app/bin/scythe /app/bin/vrec-daemon - ln -sf /app/bin/scythe /app/bin/vrec-ui - ln -sf /app/bin/scythe /app/bin/vrec - install -Dm644 packaging/scythe.desktop /app/share/applications/com.scythe.Scythe.desktop sources: - type: git url: https://github.com/oiupoyt/scythe.git branch: main