From fa9aa161b3be788aaa0453597aedaa7bd5123b1f Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Wed, 21 Dec 2022 16:59:34 +0800 Subject: libgweather4: add opengl to REQUIRED_DISTRO_FEATURES 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 Signed-off-by: Khem Raj --- 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 34d259ff33..824269e68a 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" -- cgit v1.2.3-54-g00ecf