fractal/build-aux/org.gnome.FractalNext.Devel.json
2021-03-24 23:35:34 +01:00

63 lines
1.7 KiB
JSON

{
"app-id": "org.gnome.FractalNext.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "fractal",
"finish-args" : [
"--socket=fallback-x11",
"--socket=wayland",
"--share=network",
"--device=dri",
"--talk-name=org.a11y.Bus",
"--talk-name=org.freedesktop.secrets",
"--env=RUST_LOG=fractal=debug",
"--env=G_MESSAGES_DEBUG=none"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"test-args": [
"--socket=x11",
"--share=network"
],
"env" : {
"CARGO_HOME" : "/run/build/fractal/cargo",
"RUST_BACKTRACE": "1",
"RUSTFLAGS": "-L=/app/lib"
}
},
"modules": [
{
"name": "libadwaita",
"buildsystem": "meson",
"config-opts": [
"-Dlibadwaita:tests=false",
"-Dlibadwaita:examples=false",
"-Dlibadwaita:vapi=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/exalm/libadwaita.git",
"branch": "main"
}
]
},
{
"name": "fractal",
"buildsystem": "meson",
"run-tests": true,
"config-opts": ["-Dprofile=development"],
"sources": [
{
"type": "dir",
"path": "../"
}
]
}
]
}