Install wayland packages when both X11 and wayland DISTRO_FEATURES are 
availiable
as we will be using x11 on top of wayland (XWayland).

- Add mesa-demos package for wayland backend.

Signed-off-by: Neena Busireddy <[email protected]>
---
 .../packagegroups/packagegroup-fsl-tools-gpu-external.bb     | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb 
b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
index fb57382..d284606 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
@@ -29,17 +29,19 @@ SOC_GPU_TOOLS_FB_mx6dl = "eglinfo-fb"
 SOC_GPU_TOOLS_FB_mx6sx = "eglinfo-fb"
 
 SOC_GPU_TOOLS_WAYLAND = ""
-SOC_GPU_TOOLS_WAYLAND_mx6q  = "glmark2"
-SOC_GPU_TOOLS_WAYLAND_mx6dl = "glmark2"
-SOC_GPU_TOOLS_WAYLAND_mx6sx = "glmark2"
+SOC_GPU_TOOLS_WAYLAND_mx6q  = "glmark2 mesa-demos"
+SOC_GPU_TOOLS_WAYLAND_mx6dl = "glmark2 mesa-demos"
+SOC_GPU_TOOLS_WAYLAND_mx6sx = "glmark2 mesa-demos"
+SOC_GPU_TOOLS_WAYLAND_mx6sx = "mesa-demos"
 
 SOC_GPU_TOOLS_DIRECTFB = ""
 
 RDEPENDS_${PN} = " \
     opencv-apps \
     opencv-samples \
-    ${@base_contains("DISTRO_FEATURES", "x11", "${SOC_GPU_TOOLS_X11}", \
-        base_contains("DISTRO_FEATURES", "wayland", 
"${SOC_GPU_TOOLS_WAYLAND}", \
+    ${@base_contains("DISTRO_FEATURES", "x11", \
+        base_contains('DISTRO_FEATURES', "wayland", 
"${SOC_GPU_TOOLS_WAYLAND}", "${SOC_GPU_TOOLS_X11}", d), \
+         base_contains("DISTRO_FEATURES", "wayland", 
"${SOC_GPU_TOOLS_WAYLAND}", \
             base_contains("DISTRO_FEATURES", "directfb", 
"${SOC_GPU_TOOLS_DIRECTFB}", \
                  "${SOC_GPU_TOOLS_FB}", d), d), d)} \
 "
-- 
1.9.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to