This allow Weston to be build without the clients.

Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---

Changes in v6: None
Changes in v5: None
Changes in v4:
- New patch.

Changes in v3: None
Changes in v2: None

 meta/recipes-graphics/wayland/weston_1.10.0.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston_1.10.0.bb 
b/meta/recipes-graphics/wayland/weston_1.10.0.bb
index 5885a7c..2fc5806 100644
--- a/meta/recipes-graphics/wayland/weston_1.10.0.bb
+++ b/meta/recipes-graphics/wayland/weston_1.10.0.bb
@@ -24,9 +24,6 @@ DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
 DEPENDS += "wayland wayland-protocols libinput virtual/egl pango 
wayland-native"
 
 EXTRA_OECONF = "--enable-setuid-install \
-                --enable-simple-clients \
-                --enable-clients \
-                --enable-demo-clients-install \
                 --disable-rpi-compositor \
                 --disable-rdp-compositor \
                 "
@@ -41,7 +38,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 
'wayland', 'kms fbdev
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', 
d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', 
'', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 
'systemd', '', d)} \
-                  "
+                   clients"
 #
 # Compositor choices
 #
@@ -75,6 +72,8 @@ PACKAGECONFIG[systemd] = 
"--enable-systemd-login,--disable-systemd-login,systemd
 PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,libxcb 
libxcursor cairo"
 # colord CMS support
 PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord"
+# Clients support
+PACKAGECONFIG[clients] = "--enable-clients --enable-simple-clients 
--enable-demo-clients-install,--disable-clients --disable-simple-clients"
 
 do_install_append() {
        # Weston doesn't need the .la files to load modules, so wipe them
-- 
2.8.2

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to