mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
build-aux: use org.gnome.Sysprof.Devel for nightly
and move it to toplevel directory for discoverability
This commit is contained in:
122
org.gnome.Sysprof.Devel.json
Normal file
122
org.gnome.Sysprof.Devel.json
Normal file
@ -0,0 +1,122 @@
|
||||
{
|
||||
"app-id" : "org.gnome.Sysprof.Devel",
|
||||
"runtime" : "org.gnome.Platform",
|
||||
"runtime-version" : "master",
|
||||
"sdk" : "org.gnome.Sdk",
|
||||
"command" : "sysprof",
|
||||
"tags" : [
|
||||
"nightly"
|
||||
],
|
||||
"desktop-file-name-suffix" : " (Nightly)",
|
||||
"finish-args" : [
|
||||
"--require-version=1.0.0",
|
||||
"--allow=devel",
|
||||
"--talk-name=org.freedesktop.Flatpak",
|
||||
"--device=dri",
|
||||
"--share=ipc",
|
||||
"--socket=fallback-x11",
|
||||
"--socket=wayland",
|
||||
"--socket=session-bus",
|
||||
"--socket=system-bus",
|
||||
"--filesystem=home",
|
||||
"--filesystem=host",
|
||||
"--share=network",
|
||||
"--talk-name=org.gtk.vfs.*",
|
||||
"--system-talk-name=org.freedesktop.PolicyKit1",
|
||||
"--system-talk-name=org.gnome.Sysprof3",
|
||||
"--system-talk-name=org.freedesktop.Avahi",
|
||||
"--filesystem=xdg-run/gvfsd",
|
||||
"--filesystem=/var/lib/flatpak"
|
||||
],
|
||||
"build-options" : {
|
||||
"cflags" : "-O2 -g -fno-omit-frame-pointer",
|
||||
"cxxflags" : "-O2 -g -fno-omit-frame-pointer"
|
||||
},
|
||||
"cleanup" : [
|
||||
"/include",
|
||||
"/lib/pkgconfig",
|
||||
"/share/pkgconfig",
|
||||
"/share/aclocal",
|
||||
"/man",
|
||||
"/share/man",
|
||||
"/share/gtk-doc",
|
||||
"/share/doc",
|
||||
"/share/vala",
|
||||
"/share/bash-completions",
|
||||
"*.la",
|
||||
"*.a"
|
||||
],
|
||||
"modules" : [
|
||||
{
|
||||
"name": "intltool",
|
||||
"cleanup": [ "*" ],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
|
||||
"sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "polkit",
|
||||
"config-opts" : [
|
||||
"--disable-polkitd",
|
||||
"--disable-man-pages",
|
||||
"--disable-introspection",
|
||||
"--disable-examples",
|
||||
"--disable-gtk-doc",
|
||||
"--disable-libelogind",
|
||||
"--disable-libsystemd-login",
|
||||
"--with-systemdsystemunitdir=no",
|
||||
"--with-authdb=dummy",
|
||||
"--with-authfw=none"
|
||||
],
|
||||
"rm-configure" : true,
|
||||
"cleanup" : [
|
||||
"/bin/*",
|
||||
"/etc/pam.d",
|
||||
"/etc/dbus-1",
|
||||
"/share/dbus-1/system-services/*",
|
||||
"/share/polkit-1/actions/*",
|
||||
"/lib/polkit-1"
|
||||
],
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "archive",
|
||||
"url" : "https://www.freedesktop.org/software/polkit/releases/polkit-0.116.tar.gz",
|
||||
"sha256" : "88170c9e711e8db305a12fdb8234fac5706c61969b94e084d0f117d8ec5d34b1"
|
||||
},
|
||||
{
|
||||
"type" : "patch",
|
||||
"path" : "build-aux/flatpak/polkit-build-Add-option-to-build-without-polkitd.patch"
|
||||
},
|
||||
{
|
||||
"type" : "file",
|
||||
"path" : "build-aux/flatpak/polkit-autogen",
|
||||
"dest-filename" : "autogen.sh"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "sysprof",
|
||||
"config-opts" : [
|
||||
"--libdir=/app/lib",
|
||||
"--buildtype=debugoptimized",
|
||||
"-Dagent=true",
|
||||
"-Dlibsysprof=true",
|
||||
"-Dgtk=true",
|
||||
"-Dsysprofd=host"
|
||||
],
|
||||
"buildsystem" : "meson",
|
||||
"builddir" : true,
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "git",
|
||||
"url" : "https://gitlab.gnome.org/GNOME/sysprof.git",
|
||||
"branch" : "master"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user