mesa: only build va tracker if using a gallium driver that uses it

This commit is contained in:
Lukas Rusak 2018-06-26 12:47:17 -07:00
parent 7ce6b81da7
commit 81122ec909
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

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