[OE-core] [PATCH 4/4] sysprof: conditionalized build of gtk frontend

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Thu Jan 12 16:38:16 UTC 2012


'sysprof' can be used on headless system and it is desirable to avoid
building of the gtk+/glade software stacks.

Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
 meta/recipes-kernel/sysprof/sysprof_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb
index bd34f00..8cacff5 100644
--- a/meta/recipes-kernel/sysprof/sysprof_git.bb
+++ b/meta/recipes-kernel/sysprof/sysprof_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "sysprof - System-wide Performance Profiler for Linux"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-DEPENDS = "gtk+ libglade"
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk+ libglade', '', d)}"
 
 SRCREV = "4692f85f625f4fd969cef4ab5dc47cc4655c87f9"
 PR = "r2"
-- 
1.7.7.5





More information about the Openembedded-core mailing list