From: Neena Busireddy <[email protected]>

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]>
Signed-off-by: Tom Hochstein <[email protected]>
---
 .../packagegroups/packagegroup-fsl-tools-gpu-external.bb      | 11 ++++++-----
 1 file changed, 6 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 dc425cc..aa61cff 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
@@ -29,14 +29,15 @@ 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_mx6sl = "mesa-demos"
 
 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', "wayland", "${SOC_GPU_TOOLS_WAYLAND}", 
\
+        base_contains("DISTRO_FEATURES", "x11", "${SOC_GPU_TOOLS_X11}", \
                  "${SOC_GPU_TOOLS_FB}", d), d)} \
 "
-- 
2.1.4

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

Reply via email to