Openembedded Core Discussions
 help / color / mirror / Atom feed
From: ronunes@gmail.com
To: openembedded-core@lists.openembedded.org
Cc: Rogerio Nunes <rogerio.nunes@freescale.com>
Subject: [master, dylan][PATCH] packagegroup-core-tools-testapps: isolate x11 dependent tools
Date: Wed, 31 Jul 2013 17:15:15 -0400	[thread overview]
Message-ID: <1375305315-22057-1-git-send-email-ronunes@gmail.com> (raw)

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



             reply	other threads:[~2013-07-31 21:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 21:15 ronunes [this message]
2013-08-01  1:16 ` [master, dylan][PATCH] packagegroup-core-tools-testapps: isolate x11 dependent tools Otavio Salvador
2013-08-01  9:50 ` Burton, Ross
2013-08-01 10:41   ` Martin Jansa
2013-08-01 10:45     ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375305315-22057-1-git-send-email-ronunes@gmail.com \
    --to=ronunes@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=rogerio.nunes@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox