]> code.ossystems Code Review - openembedded-core.git/commitdiff
webkitgtk: x11 and wayland are not mutually exclusive
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 19 Feb 2020 19:47:41 +0000 (20:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Feb 2020 09:37:03 +0000 (09:37 +0000)
Also enabling wayland if x11 is not enabled is not necessarily
the correct decision.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-sato/webkit/webkitgtk_2.26.4.bb

index 3eb27a155060f4dd1693f70b42c0245a05430267..153bc8db11c4d359c58aa0ac6f65065fc38f74de 100644 (file)
@@ -38,7 +38,7 @@ DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libxt libidn libgcrypt \
           gettext-native glib-2.0 glib-2.0-native libtasn1 \
           "
 
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'wayland' ,d)} \
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl opengl', '' ,d)} \
                    enchant \
                    libsecret \