summaryrefslogtreecommitdiffstats
path: root/package/vlc
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-08-12 22:29:22 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-16 12:00:51 +0200
commit70858702a7aabd8a6162c5e15be214a0bce2aecb (patch)
treea87c4006505ad4ae72dad72224c962cd1a0fd7ab /package/vlc
parent3db1612981f78c65b09affa5e8a4148866c70abc (diff)
downloadbuildroot-70858702a7aabd8a6162c5e15be214a0bce2aecb.tar.gz
buildroot-70858702a7aabd8a6162c5e15be214a0bce2aecb.zip
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>
Diffstat (limited to 'package/vlc')
-rw-r--r--package/vlc/vlc.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index edd0c36372..9e1dc6b92e 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -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
OpenPOWER on IntegriCloud