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 <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mingli Yu 2023-01-06 17:03:51 +08:00 committed by Khem Raj
parent db2c7c4e51
commit e203500745

View File

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