aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/libgweather
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-12-21 16:59:34 +0800
committerKhem Raj <raj.khem@gmail.com>2022-12-23 08:52:23 -0800
commitfa9aa161b3be788aaa0453597aedaa7bd5123b1f (patch)
tree2c0672492cb8d1d22eb9cd588f185874780afdff /meta-gnome/recipes-gnome/libgweather
parentbc39341181812b2e1a36ffc28258d458134af332 (diff)
downloadmeta-openembedded-contrib-fa9aa161b3be788aaa0453597aedaa7bd5123b1f.tar.gz
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 <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/libgweather')
-rw-r--r--meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb4
1 files changed, 3 insertions, 1 deletions
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"