2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-23 05:31:36 +02:00
|
|
|
#
|
|
|
|
# audiofile
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-23 05:31:36 +02:00
|
|
|
|
2013-03-19 04:05:11 +01:00
|
|
|
AUDIOFILE_VERSION = 0.3.6
|
2012-04-23 05:31:36 +02:00
|
|
|
AUDIOFILE_SITE = http://audiofile.68k.org
|
|
|
|
AUDIOFILE_INSTALL_STAGING = YES
|
|
|
|
AUDIOFILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
2014-10-18 20:20:13 +02:00
|
|
|
AUDIOFILE_CONF_OPTS = --disable-examples
|
2013-03-19 04:05:11 +01:00
|
|
|
AUDIOFILE_DEPENDENCIES = host-pkgconf
|
2013-05-05 05:51:17 +02:00
|
|
|
# configure is outdated and has old bugs because of it
|
|
|
|
AUDIOFILE_AUTORECONF = YES
|
2017-03-30 15:43:34 +02:00
|
|
|
AUDIOFILE_LICENSE = GPL-2.0+, LGPL-2.1+
|
2013-01-21 12:29:43 +01:00
|
|
|
AUDIOFILE_LICENSE_FILES = COPYING COPYING.GPL
|
2012-04-23 05:31:36 +02:00
|
|
|
|
2020-02-19 17:01:58 +01:00
|
|
|
# 0003-Always-check-the-number-of-coefficients.patch
|
|
|
|
AUDIOFILE_IGNORE_CVES += \
|
|
|
|
CVE-2017-6827 CVE-2017-6828 CVE-2017-6832 \
|
|
|
|
CVE-2017-6833 CVE-2017-6835 CVE-2017-6837
|
|
|
|
# 0004-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch
|
|
|
|
AUDIOFILE_IGNORE_CVES += CVE-2017-6829
|
|
|
|
# 0005-Check-for-multiplication-overflow-in-sfconvert.patch
|
|
|
|
AUDIOFILE_IGNORE_CVES += \
|
|
|
|
CVE-2017-6830 CVE-2017-6834 CVE-2017-6836 CVE-2017-6838
|
|
|
|
# 0006-Actually-fail-when-error-occurs-in-parseFormat.patch
|
|
|
|
AUDIOFILE_IGNORE_CVES += CVE-2017-6831
|
|
|
|
# 0007-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch
|
|
|
|
AUDIOFILE_IGNORE_CVES += CVE-2017-6839
|
|
|
|
# 0008-CVE-2015-7747.patch
|
|
|
|
AUDIOFILE_IGNORE_CVES += CVE-2015-7747
|
|
|
|
|
2013-03-19 04:05:11 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_FLAC),y)
|
|
|
|
AUDIOFILE_DEPENDENCIES += flac
|
2014-09-27 21:32:44 +02:00
|
|
|
AUDIOFILE_CONF_OPTS += --enable-flac
|
2013-03-19 04:05:11 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
AUDIOFILE_CONF_OPTS += --disable-flac
|
2013-03-19 04:05:11 +01:00
|
|
|
endif
|
2012-04-23 05:31:36 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|