dbc6e9e9f3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [yann.morin.1998@free.fr: dependencies fit on a single line] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
31 lines
971 B
Makefile
31 lines
971 B
Makefile
################################################################################
|
|
#
|
|
# libsndfile
|
|
#
|
|
################################################################################
|
|
|
|
LIBSNDFILE_VERSION = 1.0.31
|
|
LIBSNDFILE_SOURCE = libsndfile-$(LIBSNDFILE_VERSION).tar.bz2
|
|
LIBSNDFILE_SITE = https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION)
|
|
LIBSNDFILE_INSTALL_STAGING = YES
|
|
LIBSNDFILE_LICENSE = LGPL-2.1+
|
|
LIBSNDFILE_LICENSE_FILES = COPYING
|
|
LIBSNDFILE_CPE_ID_VENDOR = libsndfile_project
|
|
|
|
# disputed, https://github.com/erikd/libsndfile/issues/398
|
|
LIBSNDFILE_IGNORE_CVES += CVE-2018-13419
|
|
|
|
LIBSNDFILE_CONF_OPTS = \
|
|
--disable-sqlite \
|
|
--disable-alsa \
|
|
--disable-full-suite
|
|
|
|
ifeq ($(BR2_PACKAGE_FLAC)$(BR2_PACKAGE_LIBVORBIS)$(BR2_PACKAGE_OPUS),yyy)
|
|
LIBSNDFILE_DEPENDENCIES += flac host-pkgconf libvorbis opus
|
|
LIBSNDFILE_CONF_OPTS += --enable-external-libs
|
|
else
|
|
LIBSNDFILE_CONF_OPTS += --disable-external-libs
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|