blob: 29d48fd333c3d0c39dd1d037d768432c032dfb51 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Audio Sample Rate Conversion library"
2DESCRIPTION = "Also known as Secret Rabbit Code - a library for performing sample rate conversion of audio data."
3HOMEPAGE = "https://libsndfile.github.io/libsamplerate/"
4SECTION = "libs"
5LICENSE = "BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=336d6faf40fb600bafb0061f4052f1f4 \
7 file://src/samplerate.c;beginline=1;endline=7;md5=7a4238289dc36bfb70968ccaa5bd0d4f"
8DEPENDS = "libsndfile1"
9
Andrew Geissler87f5cff2022-09-30 13:13:31 -050010SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsamplerate-${PV}.tar.xz \
Andrew Geissler595f6302022-01-24 19:11:47 +000011"
12
13SRC_URI[sha256sum] = "3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893"
14
15CVE_PRODUCT = "libsamplerate"
16
Andrew Geissler87f5cff2022-09-30 13:13:31 -050017GITHUB_BASE_URI = "https://github.com/libsndfile/libsamplerate/releases"
Andrew Geissler595f6302022-01-24 19:11:47 +000018
19S = "${WORKDIR}/libsamplerate-${PV}"
20
Andrew Geissler87f5cff2022-09-30 13:13:31 -050021inherit autotools pkgconfig github-releases
Andrew Geissler595f6302022-01-24 19:11:47 +000022
23# FFTW and ALSA are only used in tests and examples, so they don't affect
24# normal builds. It should be safe to ignore these, but explicitly disabling
25# them adds some extra certainty that builds are deterministic.
26EXTRA_OECONF = "--disable-fftw --disable-alsa"