blob: a9ee7c357561984f3431581d80dc8f1e5467a34b [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "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/"
Andrew Geissler517393d2023-01-13 08:55:19 -06006DEPENDS = "flac libogg libvorbis"
7SECTION = "libs/multimedia"
8LICENSE = "LGPL-2.1-only"
9
10SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
11 file://noopus.patch \
Patrick Williamsac13d5f2023-11-24 18:59:46 -060012 file://cve-2022-33065.patch \
Andrew Geissler517393d2023-01-13 08:55:19 -060013 "
14GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
15
Andrew Geissler5082cc72023-09-11 08:41:39 -040016SRC_URI[sha256sum] = "3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e"
Andrew Geissler517393d2023-01-13 08:55:19 -060017
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
28inherit autotools lib_package pkgconfig multilib_header github-releases
29
30do_install:append() {
31 oe_multilib_header sndfile.h
32}