From: Mingli Yu <[email protected]>

Fixes:
  ERROR: Nothing PROVIDES 'virtual/libgbm' (but 
/build/layers/meta-openembedded/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb
 DEPENDS on or otherwise requires it).
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
'xdg-desktop-portal-wlr', 'virtual/libgbm']

Signed-off-by: Mingli Yu <[email protected]>
---
 .../xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb
 
b/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb
index b8cdf25c1..7e1b7b9d2 100644
--- 
a/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb
+++ 
b/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb
@@ -13,7 +13,8 @@ DEPENDS = " \
     virtual/libgbm \
 "
 
-inherit meson pkgconfig
+inherit meson pkgconfig features_check
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI = 
"git://github.com/emersion/xdg-desktop-portal-wlr.git;protocol=https;nobranch=1"
 
-- 
2.25.1

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

Reply via email to