summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/sysprof/sysprof_git.bb
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-11 11:35:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:15 +0000
commit160fdd846e4f8b3d5bb15dd7c9a07f4ee16a7479 (patch)
tree76acb4b20eeb3ffde36f5c39220a3851829e541d /meta/recipes-kernel/sysprof/sysprof_git.bb
parent425d0209c2d4f1976ca8c849df114288fb9f88a7 (diff)
downloadpoky-160fdd846e4f8b3d5bb15dd7c9a07f4ee16a7479.tar.gz
sysprof: use packageconfig for the gui
This makes the gtk dependencies optional. (From OE-Core rev: 191a1817c9dce90f3094bc98d6e0f5ab02f8a5c7) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/sysprof/sysprof_git.bb')
-rw-r--r--meta/recipes-kernel/sysprof/sysprof_git.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb
index 7d87efe7db..84c6aad39e 100644
--- a/meta/recipes-kernel/sysprof/sysprof_git.bb
+++ b/meta/recipes-kernel/sysprof/sysprof_git.bb
@@ -2,13 +2,14 @@ SUMMARY = "System-wide Performance Profiler for Linux"
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4 4
5DEPENDS = "gtk+ libglade" 5DEPENDS = "glib-2.0"
6 6
7SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219" 7SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219"
8PV = "1.2.0+git${SRCPV}" 8PV = "1.2.0+git${SRCPV}"
9 9
10SRC_URI = "git://git.gnome.org/sysprof \ 10SRC_URI = "git://git.gnome.org/sysprof \
11 file://define-NT_GNU_BUILD_ID.patch \ 11 file://define-NT_GNU_BUILD_ID.patch \
12 file://gui-argument.patch \
12 " 13 "
13 14
14SRC_URI_append_arm = " file://rmb-arm.patch" 15SRC_URI_append_arm = " file://rmb-arm.patch"
@@ -19,8 +20,10 @@ SRC_URI_append_mips64n32 = " file://rmb-mips.patch"
19 20
20S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
21 22
22inherit autotools pkgconfig distro_features_check 23inherit autotools pkgconfig
23ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" 24
25PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK2DISTROFEATURES}', 'gui', '', d)}"
26PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,gtk+ gdk-pixbuf pango libglade"
24 27
25# We do not yet work for aarch64. 28# We do not yet work for aarch64.
26# 29#