build: add flatpak manifest to testing in Builder

I give it session-bus access so that we can connect to a Qemu instance that
was started on the user session. Not needed for "real" apps.
This commit is contained in:
Christian Hergert 2023-02-17 16:28:02 -08:00
parent a12ee6da68
commit 232446389f
1 changed files with 37 additions and 0 deletions

37
org.gnome.libmks.mks.json Normal file
View File

@ -0,0 +1,37 @@
{
"app-id" : "org.gnome.libmks.mks",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "mks",
"finish-args" : [
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--socket=session-bus"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/share/gir-1.0",
"/share/vala",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "mks",
"builddir" : true,
"buildsystem" : "meson",
"config-opts" : [
"-Dinstall-tools=true"
],
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/chergert/libmks.git"
}
]
}
]
}