blob: 044881a8591bb94dffde5e9367b769b232557c87 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Audio format Conversion library"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "Library for reading and writing files containing sampled \
3sound (such as MS Windows WAV and the Apple/SGI AIFF format) through \
4one standard library interface."
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
6AUTHOR = "Erik de Castro Lopo"
Brad Bishop96ff1982019-08-19 13:50:42 -04007DEPENDS = "flac libogg libvorbis"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05008SECTION = "libs/multimedia"
9LICENSE = "LGPLv2.1"
10
11SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz \
12 file://CVE-2017-6892.patch \
13 file://CVE-2017-8361-8365.patch \
14 file://CVE-2017-8362.patch \
15 file://CVE-2017-8363.patch \
Brad Bishop220d5532018-08-14 00:59:39 +010016 file://CVE-2017-14634.patch \
Brad Bishop004d4992018-10-02 23:54:45 +020017 file://CVE-2018-13139.patch \
Brad Bishop977dc1a2019-02-06 16:01:43 -050018 file://0001-a-ulaw-fix-multiple-buffer-overflows-432.patch \
Brad Bishopf8caae32019-03-25 13:13:56 -040019 file://CVE-2018-19432.patch \
Brad Bishop19323692019-04-05 15:28:33 -040020 file://CVE-2017-12562.patch \
21 file://CVE-2018-19758.patch \
22 file://CVE-2019-3832.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023 "
24
25SRC_URI[md5sum] = "646b5f98ce89ac60cdb060fcd398247c"
26SRC_URI[sha256sum] = "1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9"
27
28LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
29
30CVE_PRODUCT = "libsndfile"
31
32S = "${WORKDIR}/libsndfile-${PV}"
33
34PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
35PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
Brad Bishop96ff1982019-08-19 13:50:42 -040036PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050037
Andrew Geissler82c905d2020-04-13 13:39:40 -050038inherit autotools lib_package pkgconfig multilib_header
39
40do_install_append() {
41 oe_multilib_header sndfile.h
42}
Brad Bishop1d80a2e2019-11-15 16:35:03 -050043
44# This can't be replicated and is just a memory leak.
45# https://github.com/erikd/libsndfile/issues/398
46CVE_CHECK_WHITELIST += "CVE-2018-13419"