[Buildroot] [git commit branch/2022.05.x] package/libsamplerate: disable sndfile

Peter Korsgaard peter at korsgaard.com
Sat Jul 23 14:32:37 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=2436051a7d07a0a932dd441a3c9104e55f481d1d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.05.x

libsndfile is only used for examples and tests so disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit eb8bef884bcb8dbf0b51f165e6b3e39e62d973ad)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libsamplerate/libsamplerate.mk | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk
index 9d6b6a5ca5..49b42fb26d 100644
--- a/package/libsamplerate/libsamplerate.mk
+++ b/package/libsamplerate/libsamplerate.mk
@@ -8,7 +8,12 @@ LIBSAMPLERATE_VERSION = 0.1.9
 LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC
 LIBSAMPLERATE_INSTALL_STAGING = YES
 LIBSAMPLERATE_DEPENDENCIES = host-pkgconf
-LIBSAMPLERATE_CONF_OPTS = --disable-fftw --program-transform-name=''
+# sndfile is only used for examples and tests so it doesn't make sense
+# to support it as an optional dependency
+LIBSAMPLERATE_CONF_OPTS = \
+	--disable-fftw \
+	--disable-sndfile \
+	--program-transform-name=''
 LIBSAMPLERATE_LICENSE = BSD-2-Clause
 LIBSAMPLERATE_LICENSE_FILES = COPYING
 LIBSAMPLERATE_CPE_ID_VENDOR = libsamplerate_project
@@ -20,8 +25,4 @@ else
 LIBSAMPLERATE_CONF_OPTS += --disable-alsa
 endif
 
-ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
-LIBSAMPLERATE_DEPENDENCIES += libsndfile
-endif
-
 $(eval $(autotools-package))



More information about the buildroot mailing list