xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "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
11SRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.bz2 \
12           file://noopus.patch \
13           file://0001-flac-Fix-improper-buffer-reusing-732.patch \
14          "
15UPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsndfile/releases/"
16
17SRC_URI[md5sum] = "3f3b2a86a032f064ef922a2c8c191f7b"
18SRC_URI[sha256sum] = "a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163"
19
20LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
21
22CVE_PRODUCT = "libsndfile"
23
24S = "${WORKDIR}/libsndfile-${PV}"
25
26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
27PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
28PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3"
29
30inherit autotools lib_package pkgconfig multilib_header
31
32do_install:append() {
33    oe_multilib_header sndfile.h
34}
35