build-aux: use org.gnome.Sysprof.Devel for nightly

and move it to toplevel directory for discoverability
This commit is contained in:
Christian Hergert
2022-07-22 12:11:59 -07:00
parent e6a582c3aa
commit 192baa9621

View File

@ -1,5 +1,5 @@
{ {
"app-id" : "org.gnome.Sysprof3", "app-id" : "org.gnome.Sysprof.Devel",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "master", "runtime-version" : "master",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
@ -7,29 +7,30 @@
"tags" : [ "tags" : [
"nightly" "nightly"
], ],
"desktop-file-name-prefix" : "(Nightly) ", "desktop-file-name-suffix" : " (Nightly)",
"finish-args" : [ "finish-args" : [
"--require-version=0.10.0", "--require-version=1.0.0",
"--allow=devel", "--allow=devel",
"--talk-name=org.freedesktop.Flatpak",
"--device=dri",
"--share=ipc", "--share=ipc",
"--socket=x11", "--socket=fallback-x11",
"--socket=wayland", "--socket=wayland",
"--socket=session-bus",
"--socket=system-bus",
"--filesystem=home",
"--filesystem=host",
"--share=network",
"--talk-name=org.gtk.vfs.*", "--talk-name=org.gtk.vfs.*",
"--system-talk-name=org.freedesktop.PolicyKit1", "--system-talk-name=org.freedesktop.PolicyKit1",
"--system-talk-name=org.gnome.Sysprof3", "--system-talk-name=org.gnome.Sysprof3",
"--filesystem=home", "--system-talk-name=org.freedesktop.Avahi",
"--filesystem=host", "--filesystem=xdg-run/gvfsd",
"--filesystem=xdg-run/dconf", "--filesystem=/var/lib/flatpak"
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
], ],
"build-options" : { "build-options" : {
"cflags" : "-O2 -g", "cflags" : "-O2 -g -fno-omit-frame-pointer",
"cxxflags" : "-O2 -g", "cxxflags" : "-O2 -g -fno-omit-frame-pointer"
"env" : {
"V" : "1"
}
}, },
"cleanup" : [ "cleanup" : [
"/include", "/include",
@ -88,11 +89,11 @@
}, },
{ {
"type" : "patch", "type" : "patch",
"path" : "polkit-build-Add-option-to-build-without-polkitd.patch" "path" : "build-aux/flatpak/polkit-build-Add-option-to-build-without-polkitd.patch"
}, },
{ {
"type" : "file", "type" : "file",
"path" : "polkit-autogen", "path" : "build-aux/flatpak/polkit-autogen",
"dest-filename" : "autogen.sh" "dest-filename" : "autogen.sh"
} }
] ]
@ -102,6 +103,8 @@
"config-opts" : [ "config-opts" : [
"--libdir=/app/lib", "--libdir=/app/lib",
"--buildtype=debugoptimized", "--buildtype=debugoptimized",
"-Dagent=true",
"-Dlibsysprof=true",
"-Dgtk=true", "-Dgtk=true",
"-Dsysprofd=host" "-Dsysprofd=host"
], ],
@ -110,7 +113,8 @@
"sources" : [ "sources" : [
{ {
"type" : "git", "type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/sysprof.git" "url" : "https://gitlab.gnome.org/GNOME/sysprof.git",
"branch" : "master"
} }
] ]
} }