{ "app-id" : "com.github.spectre", "runtime" : "org.gnome.Platform", "runtime-version" : "46", "sdk" : "org.gnome.Sdk", "sdk-extensions" : [ "org.freedesktop.Sdk.Extension.rust-stable", "org.freedesktop.Sdk.Extension.llvm16" ], "command" : "spectre-gtk", "finish-args" : [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--socket=session-bus", "--device=dri", "--filesystem=home" ], "build-options" : { "append-path": "/usr/lib/sdk/llvm16/bin:/usr/lib/sdk/rust-stable/bin", "prepend-ld-library-path": "/usr/lib/sdk/llvm12/lib", "build-args" : [ "--share=network" ], "env" : { "CARGO_HOME" : "/run/build/spectre-gtk/cargo", "RUST_BACKTRACE" : "1", "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang", "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold", "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang", "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold" } }, "modules" : [ { "name" : "libsodium", "buildsystem" : "autotools", "sources" : [ { "type" : "git", "url" : "https://github.com/jedisct1/libsodium.git", "tag" : "1.0.18-RELEASE" } ] }, { "name" : "spectre-gtk", "buildsystem" : "simple", "build-commands" : [ "cargo build --verbose", "install -Dm755 ./target/debug/spectre-gtk -t /app/bin/", "install -Dm644 ./data/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/", "install -Dm644 ./data/${FLATPAK_ID}.desktop -t /app/share/applications/", "install -Dm644 ./data/${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/" ], "sources" : [ { "type" : "dir", "path" : "../" } ] } ] }