Patchwork [meta-fsl-demos,v4,2/3] packagegroup-fsl-tools-testapps: Install more Wayland-related utilities

login
register
mail settings
Submitter Neena Busireddy
Date Aug. 8, 2014, 8:17 p.m.
Message ID <1407529061-5217-2-git-send-email-neena.busireddy@freescale.com>
Download mbox | patch
Permalink /patch/77559/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Neena Busireddy - Aug. 8, 2014, 8:17 p.m.
From: Otavio Salvador <otavio@ossystems.com.br>

In case Wayland is in use include:

 - weston
 - weston-examples
 - gtk+3-demo
 - clutter-1.0-examples (if not in i.MX6SL)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
---
 .../packagegroup-fsl-tools-testapps.bb             |    9 +++++++++
 1 file changed, 9 insertions(+)

Patch

diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
index c50ee9f..759f892 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
@@ -28,4 +28,13 @@  RDEPENDS_${PN} = " \
     ethtool \
     mtd-utils \
     mtd-utils-ubifs \
+    ${@base_contains('DISTRO_FEATURES', 'x11', '', \
+                      base_contains('DISTRO_FEATURES', 'wayland', \
+                                    'weston weston-examples \
+                                     gtk+3-demo clutter-1.0-examples', '', d), d)} \
 "
+
+# FIXME: i.MX6SL cannot use mesa for Graphics and it lacks GL support,
+#        so for now we skip it.
+RDEPENDS_${PN}_remove_mx6sl = "clutter-1.0-examples"
+PACKAGE_ARCH_mx6sl = "${MACHINE_ARCH}"