summaryrefslogtreecommitdiff
path: root/meta/recipes-core/packagegroups
diff options
context:
space:
mode:
authorRogerio Nunes <rogerio.nunes@freescale.com>2013-07-31 17:15:15 -0400
committerSaul Wold <sgw@linux.intel.com>2013-08-02 08:01:40 -0700
commit8253abeee10189b828336b791c3421d240a2e69b (patch)
tree6f2197bff2e5b61ddbbfb7a2d056e93efe3940be /meta/recipes-core/packagegroups
parentbeef66beaee926ec3d3640b79133fdb2ccc404f0 (diff)
downloadopenembedded-core-8253abeee10189b828336b791c3421d240a2e69b.tar.gz
openembedded-core-8253abeee10189b828336b791c3421d240a2e69b.tar.bz2
openembedded-core-8253abeee10189b828336b791c3421d240a2e69b.zip
packagegroup-core-tools-testapps: isolate x11 dependent tools
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> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/packagegroups')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb20
1 files 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 343ae1ccd6..1861ebea4c 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)} \
"