diff mbox series

[meta-gnome,1/4] libspelling: require opengl distro feature

Message ID 20241108035143.2214659-1-Qi.Chen@windriver.com
State New
Headers show
Series [meta-gnome,1/4] libspelling: require opengl distro feature | expand

Commit Message

ChenQi Nov. 8, 2024, 3:51 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

The gkt4 in DEPENDS has 'opengl' in its REQUIRED_DISTRO_FEATURES,
so libspelling also needs to set this.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb b/meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb
index 833fe65c3..11ac08656 100644
--- a/meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb
+++ b/meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb
@@ -5,7 +5,10 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS = "enchant2 gtk4 gtksourceview5 icu"
 
-inherit gnomebase pkgconfig gettext gi-docgen vala gobject-introspection
+inherit gnomebase pkgconfig gettext gi-docgen vala gobject-introspection features_check
+
+# reason: gtk4 requires opengl distro feature
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 GIR_MESON_OPTION = ''
 GIDOCGEN_MESON_OPTION = 'docs'