package/vlc: add optional dependency to libsamplerate

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:22 +02:00 committed by Thomas Petazzoni
parent 3db1612981
commit 70858702a7

View File

@ -51,7 +51,6 @@ VLC_CONF_OPTS += \
--disable-mmal-vout \
--disable-mtp \
--disable-projectm \
--disable-samplerate \
--disable-schroedinger \
--disable-shout \
--disable-twolame \
@ -262,6 +261,13 @@ else
VLC_CONF_OPTS += --disable-svg --disable-svgdec
endif
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
VLC_CONF_OPTS += --enable-samplerate
VLC_DEPENDENCIES += libsamplerate
else
VLC_CONF_OPTS += --disable-samplerate
endif
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
VLC_CONF_OPTS += --enable-sftp
VLC_DEPENDENCIES += libssh2