musicus/de.johrpan.musicus.json
2021-01-16 23:53:33 +01:00

70 lines
1.8 KiB
JSON

{
"app-id" : "de.johrpan.musicus",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command" : "musicus",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio",
"--filesystem=host"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"env" : {
"RUSTFLAGS" : "-L /app/lib",
"CARGO_HOME" : "/run/build/musicus/cargo",
"RUST_BACKTRACE" : "1",
"RUST_LOG" : "musicus=debug"
}
},
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name": "libdiscid",
"buildsystem": "cmake-ninja",
"builddir" : true,
"sources": [
{
"type": "archive",
"url": "https://github.com/metabrainz/libdiscid/archive/v0.6.2.tar.gz",
"sha256": "a9b73b030603ce707941a3aab4f46649fa5029025e7e2bfbbe0c3c93a86d7b20"
}
],
"cleanup": [
"/include",
"/lib/pkgconfig"
]
},
{
"name" : "musicus",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "."
}
]
}
]
}