{ "app-id": "com.adamnolle.LiveBlock", "runtime": "org.gnome.Platform", "runtime-version": "47", "sdk": "org.gnome.Sdk", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust-stable", "org.freedesktop.Sdk.Extension.node20" ], "command": "liveblock-linux", "finish-args": [ "--share=ipc", "--share=network", "--socket=wayland", "--socket=fallback-x11", "--device=dri", "--device=all", "--filesystem=xdg-data/LiveBlock:create", "--talk-name=org.freedesktop.portal.Desktop", "--talk-name=org.freedesktop.portal.ScreenCast", "--talk-name=org.freedesktop.portal.GlobalShortcuts", "--talk-name=org.freedesktop.portal.FileChooser", "--talk-name=org.freedesktop.portal.Notifications", "--system-talk-name=org.freedesktop.RealtimeKit1" ], "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/node20/bin", "build-args": ["--share=network"], "env": { "CARGO_HOME": "/run/build/liveblock-linux/cargo", "RUSTFLAGS": "--remap-path-prefix =../" } }, "modules": [ { "name": "liveblock-linux", "buildsystem": "simple", "build-commands": [ "cd platform/linux && npm install --offline", "cd platform/linux && cargo tauri build --bundles deb", "install -Dm755 platform/linux/src-tauri/target/release/liveblock-linux /app/bin/liveblock-linux", "install -Dm644 platform/linux/flatpak/com.adamnolle.LiveBlock.desktop /app/share/applications/com.adamnolle.LiveBlock.desktop", "install -Dm644 platform/linux/flatpak/com.adamnolle.LiveBlock.metainfo.xml /app/share/metainfo/com.adamnolle.LiveBlock.metainfo.xml", "install -Dm644 platform/linux/icons/icon.png /app/share/icons/hicolor/512x512/apps/com.adamnolle.LiveBlock.png" ], "sources": [ { "type": "dir", "path": "../../.." } ] } ] }