package/vlc: add optional dependency to libvpx

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2018-08-12 22:29:20 +02:00 committed by Thomas Petazzoni
parent f892cad80b
commit 02644282d0

View File

@ -56,7 +56,6 @@ VLC_CONF_OPTS += \
--disable-shout \
--disable-twolame \
--disable-vdpau \
--disable-vpx \
--disable-vsxu \
--disable-x262 \
--disable-zvbi \
@ -308,6 +307,13 @@ else
VLC_CONF_OPTS += --disable-v4l2
endif
ifeq ($(BR2_PACKAGE_LIBVPX),y)
VLC_CONF_OPTS += --enable-vpx
VLC_DEPENDENCIES += libvpx
else
VLC_CONF_OPTS += --disable-vpx
endif
ifeq ($(BR2_PACKAGE_LIBXCB),y)
VLC_CONF_OPTS += --enable-xcb
VLC_DEPENDENCIES += libxcb