kodi: VDPAU support depends on X11 support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-03-28 11:48:48 +02:00 committed by Lukas Rusak
parent d635c271f4
commit 302edefecc

View File

@ -208,7 +208,7 @@ if [ ! "$KODIPLAYER_DRIVER" = default ]; then
fi
fi
if [ "$VDPAU_SUPPORT" = yes ]; then
if [ "$VDPAU_SUPPORT" = "yes" -a "$DISPLAYSERVER" = "x11" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libvdpau"
KODI_VDPAU="--enable-vdpau"
else