Since comit [a78c420 libva: check for "opengl" feature] applied in oe-core,
and intel-media-driver depends on libva, it should check for "opengl"
feature too.

Signed-off-by: Hongxu Jia <hongxu....@windriver.com>
---
 recipes-multimedia/libva/intel-media-driver_19.2.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-multimedia/libva/intel-media-driver_19.2.0.bb 
b/recipes-multimedia/libva/intel-media-driver_19.2.0.bb
index 8656992..8084567 100644
--- a/recipes-multimedia/libva/intel-media-driver_19.2.0.bb
+++ b/recipes-multimedia/libva/intel-media-driver_19.2.0.bb
@@ -14,6 +14,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.md;md5=6aab5363823095ce682b155fef0231f0 \
 # Only for 64 bit until this is resolved: 
https://github.com/intel/media-driver/issues/356
 COMPATIBLE_HOST = '(x86_64).*-linux'
 
+inherit distro_features_check
+REQUIRED_DISTRO_FEATURES = "opengl"
+
 DEPENDS += "libva gmmlib"
 
 SRC_URI = 
"git://github.com/intel/media-driver.git;protocol=https;branch=intel-media-19.2 
\
-- 
2.7.4

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to