Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 1 | SUMMARY = "Audio format Conversion library" |
| 2 | DESCRIPTION = "Library for reading and writing files containing sampled \ |
| 3 | sound (such as MS Windows WAV and the Apple/SGI AIFF format) through \ |
| 4 | one standard library interface." |
| 5 | HOMEPAGE = "https://libsndfile.github.io/libsndfile/" |
| 6 | AUTHOR = "Erik de Castro Lopo" |
| 7 | DEPENDS = "flac libogg libvorbis" |
| 8 | SECTION = "libs/multimedia" |
| 9 | LICENSE = "LGPL-2.1-only" |
| 10 | |
| 11 | SRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.bz2 \ |
| 12 | " |
| 13 | |
| 14 | SRC_URI[md5sum] = "3f3b2a86a032f064ef922a2c8c191f7b" |
| 15 | SRC_URI[sha256sum] = "a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163" |
| 16 | |
| 17 | LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" |
| 18 | |
| 19 | CVE_PRODUCT = "libsndfile" |
| 20 | |
| 21 | S = "${WORKDIR}/libsndfile-${PV}" |
| 22 | |
| 23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" |
| 24 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
| 25 | PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3" |
| 26 | |
| 27 | inherit autotools lib_package pkgconfig multilib_header |
| 28 | |
| 29 | do_install:append() { |
| 30 | oe_multilib_header sndfile.h |
| 31 | } |