[meta-freescale] [meta-fsl-demos][PATCH 7/7] packagegroup-core-x11-sato: Remove matchbox packages for xwayland.
Neena Busireddy
neena.busireddy at freescale.com
Fri Oct 16 09:19:49 PDT 2015
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 <neena.busireddy at freescale.com>
---
recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend | 10 ++++++++++
1 file changed, 10 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..3954f3d
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend
@@ -0,0 +1,10 @@
+
+
+matchbox-base = "${@base_contains('DISTRO_FEATURES', 'x11', \
+ base_contains('DISTRO_FEATURES', 'wayland',' \
+ matchbox-desktop matchbox-session-sato matchbox-keyboard matchbox-keyboard-applet matchbox-keyboard-im matchbox-config-gtk', '', d), '',d)}"
+matchbox-apps = "${@base_contains('DISTRO_FEATURES', 'x11', \
+ base_contains('DISTRO_FEATURES', 'wayland','matchbox-terminal', '', d), '',d)}"
+
+RDEPENDS_${PN}-base_remove = "${matchbox-base}"
+RDEPENDS_${PN}-apps_remove = "${matchbox-apps}"
--
1.9.1
More information about the meta-freescale
mailing list