From: Mingli Yu <[email protected]>

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but 
/build/layers/meta-openembedded/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.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', 
'libgweather4', 'gtk4']

Signed-off-by: Mingli Yu <[email protected]>
---
 meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb 
b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb
index 34d259ff3..824269e68 100644
--- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb
+++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb
@@ -7,7 +7,9 @@ GNOMEBASEBUILDCLASS = "meson"
 GNOMEBN = "libgweather"
 S = "${WORKDIR}/${GNOMEBN}-${PV}"
 
-inherit gnomebase gsettings gobject-introspection gettext gtk-doc vala
+inherit gnomebase gsettings gobject-introspection gettext gtk-doc vala 
features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch"
 SRC_URI[archive.sha256sum] = 
"af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100177): 
https://lists.openembedded.org/g/openembedded-devel/message/100177
Mute This Topic: https://lists.openembedded.org/mt/95803024/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to