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