package/libsamplerate: disable sndfile

libsndfile is only used for examples and tests so disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-06-28 20:32:12 +02:00 committed by Thomas Petazzoni
parent 5ef445e84f
commit eb8bef884b

View File

@ -8,7 +8,12 @@ LIBSAMPLERATE_VERSION = 0.1.9
LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC
LIBSAMPLERATE_INSTALL_STAGING = YES LIBSAMPLERATE_INSTALL_STAGING = YES
LIBSAMPLERATE_DEPENDENCIES = host-pkgconf 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 = BSD-2-Clause
LIBSAMPLERATE_LICENSE_FILES = COPYING LIBSAMPLERATE_LICENSE_FILES = COPYING
LIBSAMPLERATE_CPE_ID_VENDOR = libsamplerate_project LIBSAMPLERATE_CPE_ID_VENDOR = libsamplerate_project
@ -20,8 +25,4 @@ else
LIBSAMPLERATE_CONF_OPTS += --disable-alsa LIBSAMPLERATE_CONF_OPTS += --disable-alsa
endif endif
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
LIBSAMPLERATE_DEPENDENCIES += libsndfile
endif
$(eval $(autotools-package)) $(eval $(autotools-package))