package/mpv: add libvdpau optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2020-01-18 19:37:32 +01:00 committed by Yann E. MORIN
parent ec78068972
commit c0cdbcbb8e

View File

@ -30,7 +30,6 @@ MPV_CONF_OPTS = \
--disable-uchardet \
--disable-vapoursynth \
--disable-vapoursynth-lazy \
--disable-vdpau \
--disable-mali-fbdev
# ALSA support requires pcm+mixer
@ -130,6 +129,14 @@ else
MPV_CONF_OPTS += --disable-drm
endif
# libvdpau
ifeq ($(BR2_PACKAGE_LIBVDPAU),y)
MPV_CONF_OPTS += --enable-vdpau
MPV_DEPENDENCIES += libvdpau
else
MPV_CONF_OPTS += --disable-vdpau
endif
# LUA support, only for lua51/lua52/luajit
# This enables the controller (OSD) together with libass
ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUAJIT),y)