diff options
Diffstat (limited to 'meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb')
| -rw-r--r-- | meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb new file mode 100644 index 0000000000..b7e7bee6bb --- /dev/null +++ b/meta-gnome/recipes-kernel/sysprof/sysprof_3.34.1.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 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 gettext systemd upstream-version-is-even gsettings | ||
| 9 | |||
| 10 | DEPENDS = "glib-2.0 libxml2-native glib-2.0-native" | ||
| 11 | |||
| 12 | SRC_URI[archive.md5sum] = "cc32455277b31afb1965d627ae3e3629" | ||
| 13 | SRC_URI[archive.sha256sum] = "844bbb8d8b65071b3bca96f8e921319ceef81f2d2c51fcc9da63a4b355c893d0" | ||
| 14 | SRC_URI += " \ | ||
| 15 | file://0001-sysprof-Define-NT_GNU_BUILD_ID-if-undefined.patch \ | ||
| 16 | " | ||
| 17 | |||
| 18 | PACKAGECONFIG ?= "sysprofd libsysprof ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}" | ||
| 19 | PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3 libdazzle" | ||
| 20 | PACKAGECONFIG[sysprofd] = "-Dwith_sysprofd=bundled,-Dwith_sysprofd=none,polkit" | ||
| 21 | PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit" | ||
| 22 | |||
| 23 | # Enablig this requries yelp | ||
| 24 | EXTRA_OEMESON += "-Dhelp=false -Dsystemdunitdir=${systemd_unitdir}" | ||
| 25 | |||
| 26 | SOLIBS = ".so" | ||
| 27 | FILES_SOLIBSDEV = "" | ||
| 28 | |||
| 29 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'sysprofd', 'sysprof2.service', '', d)}" | ||
| 30 | |||
| 31 | FILES_${PN} += " \ | ||
| 32 | ${datadir}/dbus-1/system-services \ | ||
| 33 | ${datadir}/dbus-1/system.d \ | ||
| 34 | ${datadir}/dbus-1/interfaces \ | ||
| 35 | ${datadir}/metainfo \ | ||
| 36 | " | ||
