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