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