Make cheese require distro feature opengl. Otherwise it fails
to build world if 'opengl' doesn't exist in DISTRO_FEATURES.
...
|ERROR: Nothing PROVIDES 'clutter-gst-3.0' (but 
meta-openembedded/meta-gnome/recipes-gnome/
cheese/cheese_44.1.bb DEPENDS on or otherwise requires it)
|clutter-gst-3.0 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', 'cheese', 
'clutter-gst-3.0']
...

Signed-off-by: Hongxu Jia <[email protected]>
---
 meta-gnome/recipes-gnome/cheese/cheese_44.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-gnome/recipes-gnome/cheese/cheese_44.1.bb 
b/meta-gnome/recipes-gnome/cheese/cheese_44.1.bb
index 180f3f6319..8e78162991 100644
--- a/meta-gnome/recipes-gnome/cheese/cheese_44.1.bb
+++ b/meta-gnome/recipes-gnome/cheese/cheese_44.1.bb
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
 
 inherit gnomebase gobject-introspection vala itstool gtk-icon-cache gsettings 
gnome-help gtk-doc
 
+REQUIRED_DISTRO_FEATURES = "opengl"
+
 SRC_URI += 
"file://0001-libcheese-Add-GtkWidget-cast-to-avoid-an-incompatibl.patch"
 
 SRC_URI[archive.sha256sum] = 
"5f2185c4c99e54ddf2b8baf60c82819950e54952e132e8639875f3edcbf8f68e"
-- 
2.34.1

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

Reply via email to