blob: 1f1a40160d825e0a068aa8f45d015ca945d2a53a [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001SUMMARY = "Audio format Conversion library"
2DESCRIPTION = "Library for reading and writing files containing sampled \
3sound (such as MS Windows WAV and the Apple/SGI AIFF format) through \
4one standard library interface."
5HOMEPAGE = "https://libsndfile.github.io/libsndfile/"
6AUTHOR = "Erik de Castro Lopo"
7DEPENDS = "flac libogg libvorbis"
8SECTION = "libs/multimedia"
9LICENSE = "LGPL-2.1-only"
10
Andrew Geissler87f5cff2022-09-30 13:13:31 -050011SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
Andrew Geissler9aee5002022-03-30 16:27:02 +000012 file://noopus.patch \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000013 "
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000015
Patrick Williams03907ee2022-05-01 06:28:52 -050016SRC_URI[sha256sum] = "0f98e101c0f7c850a71225fb5feaf33b106227b3d331333ddc9bacee190bcf41"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000017
18LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
19
20CVE_PRODUCT = "libsndfile"
21
22S = "${WORKDIR}/libsndfile-${PV}"
23
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
25PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
26PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3"
27
Andrew Geissler87f5cff2022-09-30 13:13:31 -050028inherit autotools lib_package pkgconfig multilib_header github-releases
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000029
30do_install:append() {
31 oe_multilib_header sndfile.h
32}