package/vlc: add optional dependency to libsoxr

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:31 +02:00 committed by Thomas Petazzoni
parent 02cc1e7706
commit 1291938c6c

View File

@ -74,7 +74,6 @@ VLC_CONF_OPTS += \
--disable-notify \
--disable-projectm \
--disable-schroedinger \
--disable-soxr \
--disable-shine \
--disable-shout \
--disable-skins2 \
@ -344,6 +343,13 @@ else
VLC_CONF_OPTS += --disable-secret
endif
ifeq ($(BR2_PACKAGE_LIBSOXR),y)
VLC_CONF_OPTS += --enable-soxr
VLC_DEPENDENCIES += libsoxr
else
VLC_CONF_OPTS += --disable-soxr
endif
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
VLC_CONF_OPTS += --enable-sftp
VLC_DEPENDENCIES += libssh2