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 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 11 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 12 | file://noopus.patch \ |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 13 | " |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 14 | GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 15 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 16 | SRC_URI[sha256sum] = "0f98e101c0f7c850a71225fb5feaf33b106227b3d331333ddc9bacee190bcf41" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 17 | |
| 18 | LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" |
| 19 | |
| 20 | CVE_PRODUCT = "libsndfile" |
| 21 | |
| 22 | S = "${WORKDIR}/libsndfile-${PV}" |
| 23 | |
| 24 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" |
| 25 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
| 26 | PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3" |
| 27 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 28 | inherit autotools lib_package pkgconfig multilib_header github-releases |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 29 | |
| 30 | do_install:append() { |
| 31 | oe_multilib_header sndfile.h |
| 32 | } |