add ability to install from local dev dir

This commit is contained in:
2022-07-27 17:50:40 +02:00
parent a957b64543
commit 286ea0d2c4
2 changed files with 54 additions and 0 deletions

2
build_install_local.sh Executable file
View File

@@ -0,0 +1,2 @@
flatpak run org.flatpak.Builder --user --install --force-clean build-dir org.kuchelmeister.toolbxtuner.dev.json

View File

@@ -0,0 +1,52 @@
{
"app-id" : "org.kuchelmeister.toolbxtuner",
"runtime" : "org.gnome.Platform",
"runtime-version" : "42",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command" : "toolbx-tuner",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--talk-name=org.freedesktop.Flatpak"
],
"build-options" : {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
],
"env" : {
"RUST_BACKTRACE" : "1",
"RUST_LOG" : "toolbx-tuner=debug"
}
},
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "toolbx-tuner",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "dir",
"path" : "."
}
]
}
]
}