diff mbox series

[meta-oe,2/3] libpanel: require distro feature opengl

Message ID 20250903062503.122121-2-hongxu.jia@windriver.com
State Under Review
Headers show
Series [meta-oe,1/3] libsdl2-ttf: require distro feature opengl | expand

Commit Message

Hongxu Jia Sept. 3, 2025, 6:25 a.m. UTC
Make libpanel require distro feature opengl. Otherwise it fails
to build world if 'opengl' doesn't exist in DISTRO_FEATURES.
...
|ERROR: Nothing PROVIDES 'libadwaita' (but meta-openembedded/meta-gnome/recipes-gnome/libpanel/
libpanel_1.10.0.bb DEPENDS on or otherwise requires it)
|libadwaita 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', 'libpanel', 'libadwaita']
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-gnome/recipes-gnome/libpanel/libpanel_1.10.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/libpanel/libpanel_1.10.0.bb b/meta-gnome/recipes-gnome/libpanel/libpanel_1.10.0.bb
index da47288cf8..ddf183a7f3 100644
--- a/meta-gnome/recipes-gnome/libpanel/libpanel_1.10.0.bb
+++ b/meta-gnome/recipes-gnome/libpanel/libpanel_1.10.0.bb
@@ -19,4 +19,4 @@  PACKAGECONFIG ?= ""
 
 EXTRA_OEMESON += "-Ddocs=disabled  -Dintrospection=enabled -Dvapi=false"
 
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl"