blob: e9fa25c63bdd8c88859987f9622a63b4dbd9ca71 [file] [log] [blame]
Andrew Geissler89770b02020-06-13 10:40:47 -05001SUMMARY = "System-wide Performance Profiler for Linux"
2HOMEPAGE = "http://www.sysprof.com"
3LICENSE = "GPLv3+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
5 file://src/sysprof/sysprof-application.c;endline=17;md5=a3de8df3b0f8876dd01e1388d2d4b607"
6
7GNOMEBASEBUILDCLASS = "meson"
8inherit gnomebase gnome-help gettext systemd upstream-version-is-even gsettings mime mime-xdg
9
10DEPENDS += " \
11 glib-2.0-native \
12 yelp-tools-native \
13 libxml2-native \
14 glib-2.0 \
15"
16
17SRC_URI[archive.md5sum] = "3956e82b8744715006dde59e0ce8910b"
18SRC_URI[archive.sha256sum] = "8670db4dacf7b219d30c575c465b17c8ed6724dbade347f2cde9548bff039108"
19SRC_URI += " \
20 file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \
Andrew Geisslerd221e032020-07-10 16:13:21 -050021 file://0002-tests-use-G_GSIZE_FORMAT-instead-of-G_GUINT64_FORMAT.patch \
Andrew Geissler89770b02020-06-13 10:40:47 -050022"
23
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050024PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'libsysprof', '', d)} \
26 ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}"
Andrew Geissler89770b02020-06-13 10:40:47 -050027PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle"
28PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit"
29PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
30
31EXTRA_OEMESON += "-Dsystemdunitdir=${systemd_unitdir}/system"
32
33SOLIBS = ".so"
34FILES_SOLIBSDEV = ""
35
36SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'sysprofd', 'sysprof2.service sysprof3.service', '', d)}"
37
38FILES_${PN} += " \
39 ${datadir}/dbus-1/system-services \
40 ${datadir}/dbus-1/system.d \
41 ${datadir}/dbus-1/interfaces \
42 ${datadir}/metainfo \
43"