Merge pull request #2801 from lrusak/mesa-vaapi

mesa: only build va tracker if using a gallium driver that uses it
This commit is contained in:
MilhouseVH 2018-07-02 00:02:54 +01:00 committed by GitHub
commit 07faf59094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ else
PKG_MESON_OPTS_TARGET+=" -Dgallium-vdpau=false"
fi
if [ "$VAAPI_SUPPORT" = "yes" ]; then
if [ "$VAAPI_SUPPORT" = "yes" ] && listcontains "$GRAPHIC_DRIVERS" "(r600|radeonsi)"; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libva"
PKG_MESON_OPTS_TARGET+=" -Dgallium-va=true"
else