Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | SUMMARY = "Audio Sample Rate Conversion library" |
| 2 | DESCRIPTION = "Also known as Secret Rabbit Code - a library for performing sample rate conversion of audio data." |
| 3 | HOMEPAGE = "https://libsndfile.github.io/libsamplerate/" |
| 4 | SECTION = "libs" |
| 5 | LICENSE = "BSD-2-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=336d6faf40fb600bafb0061f4052f1f4 \ |
| 7 | file://src/samplerate.c;beginline=1;endline=7;md5=7a4238289dc36bfb70968ccaa5bd0d4f" |
| 8 | DEPENDS = "libsndfile1" |
| 9 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 10 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsamplerate-${PV}.tar.xz \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 11 | " |
| 12 | |
| 13 | SRC_URI[sha256sum] = "3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893" |
| 14 | |
| 15 | CVE_PRODUCT = "libsamplerate" |
| 16 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 17 | GITHUB_BASE_URI = "https://github.com/libsndfile/libsamplerate/releases" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 18 | |
| 19 | S = "${WORKDIR}/libsamplerate-${PV}" |
| 20 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 21 | inherit autotools pkgconfig github-releases |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | |
| 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. |
| 26 | EXTRA_OECONF = "--disable-fftw --disable-alsa" |