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