cheese: require distro feature opengl

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 <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia 2025-09-03 14:25:03 +08:00 committed by Khem Raj
parent b00af83239
commit 342a38bbfe
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"