All of lore.kernel.org
 help / color / mirror / Atom feed
* [master, dylan][PATCH] packagegroup-core-tools-testapps: isolate x11 dependent tools
@ 2013-07-31 21:15 ronunes
  2013-08-01  1:16 ` Otavio Salvador
  2013-08-01  9:50 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: ronunes @ 2013-07-31 21:15 UTC (permalink / raw)
  To: openembedded-core; +Cc: Rogerio Nunes

From: Rogerio Nunes <rogerio.nunes@freescale.com>

This patch groups x11 dependent tools in a separete variable,
and when DISTRO_FEATURES does not contain x11, this group is
not included in the package RDEPENDS.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
---
 .../packagegroup-core-tools-testapps.bb            |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
index 343ae1c..1861ebe 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
@@ -24,24 +24,28 @@ KEXECTOOLS_powerpc ?= ""
 KEXECTOOLS_e5500-64b ?= ""
 KEXECTOOLS_aarch64 ?= ""
 
+X11TOOLS = "\
+    fstests \
+    owl-video \
+    mesa-demos \
+    x11perf \
+    xrestop \
+    xwininfo \
+    xprop \
+    xvideo-tests \
+    "
+
 RDEPENDS_${PN} = "\
     blktool \
-    fstests \
     tslib-calibrate \
     tslib-tests \
     lrzsz \
     ${KEXECTOOLS} \
     alsa-utils-amixer \
     alsa-utils-aplay \
-    owl-video \
     gst-meta-video \
     gst-meta-audio \
-    mesa-demos \
-    x11perf \
-    xrestop \
-    xwininfo \
-    xprop \
-    xvideo-tests \
     ltp \
     connman-client \
+    ${@base_contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
     "
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-01 10:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31 21:15 [master, dylan][PATCH] packagegroup-core-tools-testapps: isolate x11 dependent tools ronunes
2013-08-01  1:16 ` Otavio Salvador
2013-08-01  9:50 ` Burton, Ross
2013-08-01 10:41   ` Martin Jansa
2013-08-01 10:45     ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.