diff options
Diffstat (limited to 'meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb')
-rw-r--r-- | meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb new file mode 100644 index 0000000000..9c1f601aab --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Audio format Conversion library" | ||
2 | DESCRIPTION = "Library for reading and writing files containing sampled \ | ||
3 | sound (such as MS Windows WAV and the Apple/SGI AIFF format) through \ | ||
4 | one standard library interface." | ||
5 | HOMEPAGE = "https://libsndfile.github.io/libsndfile/" | ||
6 | DEPENDS = "flac libogg libvorbis" | ||
7 | SECTION = "libs/multimedia" | ||
8 | LICENSE = "LGPL-2.1-only" | ||
9 | |||
10 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \ | ||
11 | file://noopus.patch \ | ||
12 | " | ||
13 | GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/" | ||
14 | |||
15 | SRC_URI[sha256sum] = "3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e" | ||
16 | |||
17 | LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" | ||
18 | |||
19 | CVE_PRODUCT = "libsndfile" | ||
20 | |||
21 | S = "${WORKDIR}/libsndfile-${PV}" | ||
22 | |||
23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" | ||
24 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
25 | PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3" | ||
26 | |||
27 | inherit autotools lib_package pkgconfig multilib_header github-releases | ||
28 | |||
29 | do_install:append() { | ||
30 | oe_multilib_header sndfile.h | ||
31 | } | ||