Merge pull request #4197 from dhewg/pull/intel-vaapi-driver

ffmpegx: only depend on intel-vaapi-driver if intel drivers are build
This commit is contained in:
MilhouseVH 2020-02-19 06:04:27 +00:00 committed by GitHub
commit fa58be9bf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,11 @@ if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
fi fi
if [ "$TARGET_ARCH" = "x86_64" ]; then if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" nasm:host intel-vaapi-driver x265" PKG_DEPENDS_TARGET+=" nasm:host x265"
if listcontains "$GRAPHIC_DRIVERS" "(iris|i915|i965)"; then
PKG_DEPENDS_TARGET+=" intel-vaapi-driver"
fi
fi fi
if [[ ! $TARGET_ARCH = arm ]] || target_has_feature neon; then if [[ ! $TARGET_ARCH = arm ]] || target_has_feature neon; then