From: Mingli Yu <[email protected]>

Fixes the below yocto compliance issue:
  ERROR: Nothing PROVIDES 'rest' (but 
/build/layers/meta-openembedded/meta-gnome/recipes-gnome/msgraph/msgraph_0.2.1.bb
 DEPENDS on or otherwise requires it)
  rest 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', 
'msgraph', 'rest']

Signed-off-by: Mingli Yu <[email protected]>
---
 meta-gnome/recipes-gnome/msgraph/msgraph_0.2.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/msgraph/msgraph_0.2.1.bb 
b/meta-gnome/recipes-gnome/msgraph/msgraph_0.2.1.bb
index 4c11a8d13..9b4a8a035 100644
--- a/meta-gnome/recipes-gnome/msgraph/msgraph_0.2.1.bb
+++ b/meta-gnome/recipes-gnome/msgraph/msgraph_0.2.1.bb
@@ -2,7 +2,8 @@ SUMMARY = "libmsgraph is a GLib-based library for accessing 
online serive APIs u
 LICENSE = "LGPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
 
-inherit gnomebase gobject-introspection gi-docgen
+inherit gnomebase gobject-introspection gi-docgen features_check
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI[archive.sha256sum] = 
"e0e59eaa8ae3e0a48ec0a6c2fed0470856a709248e9212b6a1d037de5792ecbb"
 
-- 
2.25.1

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

Reply via email to