Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -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 = "flac libogg libvorbis sqlite3" |
| 5 | SECTION = "libs/multimedia" |
| 6 | LICENSE = "LGPLv2.1" |
| 7 | |
| 8 | SRC_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 \ |
Brad Bishop | 220d553 | 2018-08-14 00:59:39 +0100 | [diff] [blame] | 13 | file://CVE-2017-14245-14246.patch \ |
| 14 | file://CVE-2017-14634.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | " |
| 16 | |
| 17 | SRC_URI[md5sum] = "646b5f98ce89ac60cdb060fcd398247c" |
| 18 | SRC_URI[sha256sum] = "1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9" |
| 19 | |
| 20 | LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" |
| 21 | |
| 22 | CVE_PRODUCT = "libsndfile" |
| 23 | |
| 24 | S = "${WORKDIR}/libsndfile-${PV}" |
| 25 | |
| 26 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" |
| 27 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
| 28 | |
| 29 | inherit autotools lib_package pkgconfig |
| 30 | |
| 31 | do_configure_prepend_arm() { |
| 32 | export ac_cv_sys_largefile_source=1 |
| 33 | export ac_cv_sys_file_offset_bits=64 |
| 34 | } |
| 35 | |