Brad Bishop | 0e2770c | 2020-01-21 07:31:46 -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" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | inherit gnomebase gettext systemd upstream-version-is-even gsettings mime mime-xdg |
Brad Bishop | 0e2770c | 2020-01-21 07:31:46 -0500 | [diff] [blame] | 9 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | DEPENDS += "glib-2.0 libxml2-native glib-2.0-native" |
Brad Bishop | 0e2770c | 2020-01-21 07:31:46 -0500 | [diff] [blame] | 11 | |
| 12 | SRC_URI[archive.md5sum] = "cc32455277b31afb1965d627ae3e3629" |
| 13 | SRC_URI[archive.sha256sum] = "844bbb8d8b65071b3bca96f8e921319ceef81f2d2c51fcc9da63a4b355c893d0" |
| 14 | SRC_URI += "file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \ |
| 15 | file://0001-meson.build-do-not-hardcode-linux-as-host_machine-.s.patch \ |
| 16 | file://0001-libsysprof-ui-Rename-environ-to-sys_environ.patch \ |
| 17 | " |
| 18 | |
| 19 | PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}" |
| 20 | PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle" |
| 21 | PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit" |
| 22 | PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit" |
| 23 | |
| 24 | # Enablig this requries yelp |
| 25 | EXTRA_OEMESON += "-Dhelp=false -Dsystemdunitdir=${systemd_unitdir}/system" |
| 26 | |
| 27 | SOLIBS = ".so" |
| 28 | FILES_SOLIBSDEV = "" |
| 29 | |
| 30 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'sysprofd', 'sysprof2.service sysprof3.service', '', d)}" |
| 31 | |
| 32 | FILES_${PN} += " \ |
| 33 | ${datadir}/dbus-1/system-services \ |
| 34 | ${datadir}/dbus-1/system.d \ |
| 35 | ${datadir}/dbus-1/interfaces \ |
| 36 | ${datadir}/metainfo \ |
| 37 | " |