app-id: io.elementary.camera runtime: io.elementary.Platform runtime-version: '8.2' sdk: io.elementary.Sdk command: io.elementary.camera sdk-extensions: - "org.freedesktop.Sdk.Extension.rust-stable" build-options: env: CARGO_HOME: /run/build/cargo-c/cargo append-path: /usr/lib/sdk/rust-stable/bin finish-args: - '--filesystem=xdg-pictures' - '--filesystem=xdg-videos' - '--share=ipc' - '--socket=fallback-x11' - '--socket=wayland' - '--socket=pulseaudio' - '--device=dri' - '--device=all' - '--env=GST_PLUGIN_PATH_1_0=/app/lib64/gstreamer-1.0' - '--metadata=X-DConf=migrate-path=/io/elementary/camera/' cleanup: - '*.a' - '*.la' modules: - name: cargo-c buildsystem: simple build-commands: # This version is locked to a version that can build with Rust 1.81 which is what's in the SDK - "cargo install --locked cargo-c@0.10.7+cargo-0.84.0 --root /app" build-options: build-args: - "--share=network" cleanup: - "*" - name: gst-plugins-rs buildsystem: simple sources: - type: git url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git branch: '0.12' build-options: build-args: - "--share=network" build-commands: - "cargo cinstall -p gst-plugin-gtk4 --prefix=/app" - name: canberra config-opts: - '--enable-gstreamer' - '--enable-pulse' - '--disable-oss' - '--disable-static' - '--with-builtin=dso' sources: - type: archive url: http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz sha256: c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 - name: camera buildsystem: meson sources: - type: dir path: .