diff mbox series

[meta-multimedia,3/3] xdg-desktop-portal-wlr: add opengl to REQUIRED_DISTRO_FEATURES

Message ID 20230106090351.692314-3-mingli.yu@eng.windriver.com
State Under Review
Headers show
Series [meta-gnome,1/3] file-roller: add opengl to REQUIRED_DISTRO_FEATURES | expand

Commit Message

mingli.yu@eng.windriver.com Jan. 6, 2023, 9:03 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

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 <mingli.yu@windriver.com>
---
 .../xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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"