69 lines
2.1 KiB
JSON
69 lines
2.1 KiB
JSON
{
|
|
"id": "dev.mnts.ModManager.Devel",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "45",
|
|
"sdk": "org.gnome.Sdk",
|
|
"sdk-extensions": [
|
|
"org.freedesktop.Sdk.Extension.rust-stable",
|
|
"org.freedesktop.Sdk.Extension.llvm16"
|
|
],
|
|
"command": "mod-manager",
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland",
|
|
"--device=dri",
|
|
"--env=RUST_LOG=mod_manager=debug",
|
|
"--env=G_MESSAGES_DEBUG=none",
|
|
"--env=RUST_BACKTRACE=1"
|
|
],
|
|
"build-options": {
|
|
"append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm16/bin",
|
|
"build-args": ["--share=network"],
|
|
"env": {
|
|
"CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse",
|
|
"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"
|
|
},
|
|
"test-args": ["--socket=x11", "--share=network"]
|
|
},
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/man",
|
|
"/share/doc",
|
|
"/share/gtk-doc",
|
|
"/share/man",
|
|
"/share/pkgconfig",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "blueprint-compiler",
|
|
"buildsystem": "meson",
|
|
"cleanup": ["*"],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/jwestman/blueprint-compiler",
|
|
"tag": "v0.10.0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "mod-manager",
|
|
"buildsystem": "meson",
|
|
"run-tests": true,
|
|
"config-opts": ["-Dprofile=development"],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "../"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|