blob: be875c227b782c19c2bcc8d239b6554daf07ce29 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Audio format Conversion library"
2HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
3AUTHOR = "Erik de Castro Lopo"
4DEPENDS = "sqlite3"
5SECTION = "libs/multimedia"
6LICENSE = "LGPLv2.1"
7PR = "r2"
8
9SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz \
10 file://0001-src-sd2.c-Fix-segfault-in-SD2-RSRC-parser.patch \
11 file://0001-src-sd2.c-Fix-two-potential-buffer-read-overflows.patch \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050012 file://libsndfile-fix-CVE-2014-9756.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013"
14
15SRC_URI[md5sum] = "e2b7bb637e01022c7d20f95f9c3990a2"
16SRC_URI[sha256sum] = "59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882"
17
18LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
19
20S = "${WORKDIR}/libsndfile-${PV}"
21
22PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
23PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
24
25EXTRA_OECONF = "--disable-external-libs"
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 ac_cv_sizeof_off_t=8
33}
34