'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 <[email protected]>
---
 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


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to