Skip to contentSkip to conversation

webkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES

PATCH New [email protected] 1 participant 1 message Aug 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 webkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES

From: Mingli Yu <[email protected]>

webkitgtk depends on gtk4 which has the below logic, so add the same logic for webkitgtk.
REQUIRED_DISTRO_FEATURES = "opengl"

Fixes:
ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/oe-core/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb DEPENDS on or otherwise requires it) gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'webkitgtk', 'gtk4']

---
 meta/recipes-sato/webkit/webkitgtk_2.40.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-sato/webkit/webkitgtk_2.40.5.bb +1 -1
index 7bf32e8610..39bb6a476f 100644
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c
 inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'opengl', '', d)}"
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 CVE_PRODUCT = "webkitgtk webkitgtk\+"
 
Signature · 1 line
2.25.1