mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
ffmpegx: only depend on intel-vaapi-driver if intel drivers are build
Fixes compilation with GRAPHIC_DRIVERS="virtio"
This commit is contained in:
parent
748d7e78de
commit
5ff572a827
@ -19,7 +19,11 @@ if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
if [[ ! $TARGET_ARCH = arm ]] || target_has_feature neon; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user