frame: add opengl to REQUIRED_DISTRO_FEATURES

Fixes:
  ERROR: Nothing PROVIDES 'virtual/xserver' (but /build/layers/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb DEPENDS on or otherwise requires it)
xserver-xorg PROVIDES virtual/xserver but 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', 'geis', 'frame', 'virtual/xserver']

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
2022-12-10 13:18:38 +08:00
committed by Khem Raj
parent 34226ac632
commit c528790b60
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = " \
file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
inherit autotools pkgconfig
inherit autotools pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
SRC_URI = "https://launchpad.net/${BPN}/trunk/v${PV}/+download/${BPN}-${PV}.tar.gz \
file://pessimizing-move.patch"