The latest version of webkitgtk3 requires opengl DISTRO_FEATURE, so the
webkit PACKAGECONFIG should be enabled only when opengl is available.

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb 
b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb
index 815a0b2d0a..a149134f5a 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb
@@ -50,7 +50,13 @@ EXTRA_OECMAKE:append:class-target = ' -DEGREP="/bin/grep -E"'
 PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 
'gtk', 'no_gui', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \
 "
-PACKAGECONFIG:append:class-target = " mediactrl 
${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'webkit', '', d)}"
+PACKAGECONFIG:append:class-target = " mediactrl"
+
+# (x11 OR wayland) AND opengl -> webkit
+PACKAGECONFIG:append:class-target = "\
+    ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', \
+    bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webkit', '', d),\
+   '', d)}"
 
 PACKAGECONFIG:class-native ?= "${@bb.utils.contains_any('DISTRO_FEATURES', 
'x11 wayland', 'gtk', 'no_gui', d)}"
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124415): 
https://lists.openembedded.org/g/openembedded-devel/message/124415
Mute This Topic: https://lists.openembedded.org/mt/117836976/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to