From: Neena Busireddy <[email protected]>

Do not install x11 packages when both x11 and wayland DISTRO_FEATURES are 
availiable.
Wayland backend is preferred as we are using X11 on top of Wayland (XWayland).

Signed-off-by: Neena Busireddy <[email protected]>
Signed-off-by: Tom Hochstein <[email protected]>
---
 recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 
recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend

diff --git a/recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend 
b/recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend
new file mode 100644
index 0000000..a6e8954
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend
@@ -0,0 +1,8 @@
+
+
+matchbox-base = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', ' \
+                                         matchbox-desktop 
matchbox-session-sato  matchbox-keyboard matchbox-keyboard-applet 
matchbox-keyboard-im matchbox-config-gtk', '', d)}"
+matchbox-apps = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 
'matchbox-terminal', '', d)}"
+
+RDEPENDS_${PN}-base_remove = "${matchbox-base}"
+RDEPENDS_${PN}-apps_remove = "${matchbox-apps}"
-- 
2.1.4

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

Reply via email to