blob: ed43b7494e621bd84cf9d06d12164e5ef0d3e732 [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 Bishopd7bf8c12018-02-25 22:55:05 -050015 "
16
17SRC_URI[md5sum] = "646b5f98ce89ac60cdb060fcd398247c"
18SRC_URI[sha256sum] = "1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9"
19
20LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
21
22CVE_PRODUCT = "libsndfile"
23
24S = "${WORKDIR}/libsndfile-${PV}"
25
26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
27PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
28
29inherit autotools lib_package pkgconfig
30
31do_configure_prepend_arm() {
32 export ac_cv_sys_largefile_source=1
33 export ac_cv_sys_file_offset_bits=64
34}
35