diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-11-11 11:35:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 08:08:15 +0000 |
commit | 160fdd846e4f8b3d5bb15dd7c9a07f4ee16a7479 (patch) | |
tree | 76acb4b20eeb3ffde36f5c39220a3851829e541d /meta/recipes-kernel/sysprof/sysprof_git.bb | |
parent | 425d0209c2d4f1976ca8c849df114288fb9f88a7 (diff) | |
download | poky-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.bb | 9 |
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" | |||
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
4 | 4 | ||
5 | DEPENDS = "gtk+ libglade" | 5 | DEPENDS = "glib-2.0" |
6 | 6 | ||
7 | SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219" | 7 | SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219" |
8 | PV = "1.2.0+git${SRCPV}" | 8 | PV = "1.2.0+git${SRCPV}" |
9 | 9 | ||
10 | SRC_URI = "git://git.gnome.org/sysprof \ | 10 | SRC_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 | ||
14 | SRC_URI_append_arm = " file://rmb-arm.patch" | 15 | SRC_URI_append_arm = " file://rmb-arm.patch" |
@@ -19,8 +20,10 @@ SRC_URI_append_mips64n32 = " file://rmb-mips.patch" | |||
19 | 20 | ||
20 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
21 | 22 | ||
22 | inherit autotools pkgconfig distro_features_check | 23 | inherit autotools pkgconfig |
23 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" | 24 | |
25 | PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK2DISTROFEATURES}', 'gui', '', d)}" | ||
26 | PACKAGECONFIG[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 | # |