blob: b28f67528654cce404350c76709f4abedd7f8c95 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Audio format Conversion library"
2HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
3AUTHOR = "Erik de Castro Lopo"
4DEPENDS = "flac libogg libvorbis sqlite3"
5SECTION = "libs/multimedia"
6LICENSE = "LGPLv2.1"
7
8SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz \
9 file://CVE-2017-6892.patch \
10 file://CVE-2017-8361-8365.patch \
11 file://CVE-2017-8362.patch \
12 file://CVE-2017-8363.patch \
Brad Bishop220d5532018-08-14 00:59:39 +010013 file://CVE-2017-14245-14246.patch \
14 file://CVE-2017-14634.patch \
Brad Bishop004d4992018-10-02 23:54:45 +020015 file://CVE-2018-13139.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016 "
17
18SRC_URI[md5sum] = "646b5f98ce89ac60cdb060fcd398247c"
19SRC_URI[sha256sum] = "1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9"
20
21LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
22
23CVE_PRODUCT = "libsndfile"
24
25S = "${WORKDIR}/libsndfile-${PV}"
26
27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
28PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
29
30inherit autotools lib_package pkgconfig
31
32do_configure_prepend_arm() {
33 export ac_cv_sys_largefile_source=1
34 export ac_cv_sys_file_offset_bits=64
35}
36