recipes: use features_check instead of deprecated distro_features_check

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Ross Burton 2019-11-18 14:20:37 +00:00 committed by Anuj Mittal
parent afefffd213
commit 62166cee76
6 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c50969be4feb8b99c6baa3795ede4dce"
SECTION = "lib"
inherit pkgconfig cmake useradd systemd distro_features_check
inherit pkgconfig cmake useradd systemd features_check
SRC_URI = "git://github.com/intel/hdcp.git \
file://0001-main-fix-hdcpd-service-failure.patch \

View File

@ -14,7 +14,7 @@ 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
inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
DEPENDS += "libva gmmlib"

View File

@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "5c2e5deab024a0a6ae81dfe77ef455542a88d824eda7bfd07684337407
UPSTREAM_CHECK_URI = "https://github.com/intel/intel-vaapi-driver/releases"
inherit autotools pkgconfig distro_features_check
inherit autotools pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "opengl"

View File

@ -15,7 +15,7 @@ S = "${WORKDIR}/git"
DEPENDS = "libva libyami"
inherit autotools pkgconfig distro_features_check
inherit autotools pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "opengl"

View File

@ -19,6 +19,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"
DEPENDS = "libva"
inherit autotools pkgconfig distro_features_check
inherit autotools pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "opengl"

View File

@ -14,7 +14,7 @@ CVE_DETAILS = "intel:media_sdk"
COMPATIBLE_HOST = '(x86_64).*-linux'
COMPATIBLE_HOST_x86-x32 = "null"
inherit distro_features_check
inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
DEPENDS += "libdrm libva intel-media-driver"