From e203500745d71184a10d3db4465f691b45deb2a4 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Fri, 6 Jan 2023 17:03:51 +0800 Subject: [PATCH] xdg-desktop-portal-wlr: add opengl to REQUIRED_DISTRO_FEATURES 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 Signed-off-by: Khem Raj --- .../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 b8cdf25c1d..7e1b7b9d26 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"