Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Audio format Conversion library" |
| 2 | HOMEPAGE = "http://www.mega-nerd.com/libsndfile" |
| 3 | AUTHOR = "Erik de Castro Lopo" |
| 4 | DEPENDS = "sqlite3" |
| 5 | SECTION = "libs/multimedia" |
| 6 | LICENSE = "LGPLv2.1" |
| 7 | PR = "r2" |
| 8 | |
| 9 | SRC_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 Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 12 | file://libsndfile-fix-CVE-2014-9756.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | " |
| 14 | |
| 15 | SRC_URI[md5sum] = "e2b7bb637e01022c7d20f95f9c3990a2" |
| 16 | SRC_URI[sha256sum] = "59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882" |
| 17 | |
| 18 | LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" |
| 19 | |
| 20 | S = "${WORKDIR}/libsndfile-${PV}" |
| 21 | |
| 22 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" |
| 23 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
| 24 | |
| 25 | EXTRA_OECONF = "--disable-external-libs" |
| 26 | |
| 27 | inherit autotools lib_package pkgconfig |
| 28 | |
| 29 | do_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 | |