{ "app-id": "io.github.domatix.obsbot-control", "runtime": "org.gnome.Platform", "runtime-version": "50", "sdk": "org.gnome.Sdk", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust-stable", "org.freedesktop.Sdk.Extension.llvm20" ], "command": "obsbot-control", "finish-args": [ "--share=ipc", "--socket=wayland", "--socket=fallback-x11", "--device=all", "--filesystem=xdg-pictures" ], "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin", "prepend-ld-library-path": "/usr/lib/sdk/llvm20/lib", "env": { "CARGO_HOME": "/run/build/obsbot-control/cargo", "CARGO_NET_OFFLINE": "true", "LIBCLANG_PATH": "/usr/lib/sdk/llvm20/lib" } }, "x-comment-sources": [ "T-226: every git source carries a full commit next to its tag.", "A tag is a mutable ref in the source repository; the commit is", "what actually gets built. flatpak-builder verifies the tag", "resolves to that commit and fails the build otherwise.", "When bumping a version, update BOTH fields:", " git ls-remote refs/tags/" ], "x-comment-network": [ "Both Rust modules build fully offline. cargo-sources.json (app)", "and cargo-sources-gst.json (gst-plugin-gtk4) were generated by", "flatpak-cargo-generator.py from flatpak-builder-tools, declaring", "every crate archive and git dependency with a sha256 / commit.", "CARGO_NET_OFFLINE=true forces cargo to never reach the network.", "Regenerate after a Cargo.lock bump:", " python3 flatpak-builder-tools/cargo/flatpak-cargo-generator.py", " -o build-aux/cargo-sources.json" ], "modules": [ { "name": "blueprint-compiler", "buildsystem": "meson", "cleanup": [ "*" ], "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/jwestman/blueprint-compiler.git", "tag": "v0.16.0", "commit": "be7beddc5201b1f5a5af517077dbc7c5390ecce1" } ] }, { "name": "gst-plugin-gtk4", "buildsystem": "simple", "build-options": { "env": { "CARGO_HOME": "/run/build/gst-plugin-gtk4/cargo", "CARGO_NET_OFFLINE": "true" } }, "build-commands": [ "cargo build --release -p gst-plugin-gtk4", "install -Dm644 target/release/libgstgtk4.so /app/lib/gstreamer-1.0/libgstgtk4.so" ], "sources": [ { "type": "git", "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git", "tag": "0.13.5", "commit": "4281db13b8bdf6272b2d47ecc9ecc2e056322275" }, "cargo-sources-gst.json" ] }, { "name": "obsbot-control", "buildsystem": "meson", "config-opts": [ "--buildtype=release", "-Dlive-preview=true" ], "sources": [ { "type": "dir", "path": ".." }, "cargo-sources.json" ] } ] }