diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-09-14 17:13:19 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-14 10:46:54 -0700 |
commit | 3942953920b222bc1d901ddcd2cc23aa19e9e33e (patch) | |
tree | 90539dbd4f99e9cee452565b89751f8aeee5b7fd | |
parent | e95583cd9a9f556bd416b30cb4d22888e20bb89a (diff) | |
download | meta-openembedded-3942953920b222bc1d901ddcd2cc23aa19e9e33e.tar.gz |
webrtc-audio-processing: add recipe for 1.x
Starting with 0.3.80 pipewire has a minimum requirement on
webrtc-audio-processing-1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 53 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1/0001-add-missing-header-for-musl.patch b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1/0001-add-missing-header-for-musl.patch new file mode 100644 index 0000000000..ef1d454663 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1/0001-add-missing-header-for-musl.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 141fb5cbdaa6a883a61b5bf390c849159fc77605 Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Thu, 14 Sep 2023 16:12:32 +0200 | ||
4 | Subject: [PATCH] file_wrapper.h: add missing include for musl | ||
5 | |||
6 | this fixes: | ||
7 | | In file included from ../webrtc-audio-processing-1.3/webrtc/rtc_base/system/file_wrapper.cc:11: | ||
8 | | ../webrtc-audio-processing-1.3/webrtc/rtc_base/system/file_wrapper.h:86:21: error: 'int64_t' has not been declared | ||
9 | |||
10 | if built with musl libc | ||
11 | |||
12 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/37] | ||
13 | |||
14 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
15 | --- | ||
16 | webrtc/rtc_base/system/file_wrapper.h | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/webrtc/rtc_base/system/file_wrapper.h b/webrtc/rtc_base/system/file_wrapper.h | ||
20 | index 42c463c..c34d366 100644 | ||
21 | --- a/webrtc/rtc_base/system/file_wrapper.h | ||
22 | +++ b/webrtc/rtc_base/system/file_wrapper.h | ||
23 | @@ -13,6 +13,7 @@ | ||
24 | |||
25 | #include <stddef.h> | ||
26 | #include <stdio.h> | ||
27 | +#include <cstdint> | ||
28 | |||
29 | #include <string> | ||
30 | |||
31 | -- | ||
32 | 2.41.0 | ||
33 | |||
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1_1.3.bb b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1_1.3.bb new file mode 100644 index 0000000000..8d281dad5b --- /dev/null +++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1_1.3.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "Audio processing bits of the WebRTC reference implementation" | ||
2 | HOMEPAGE = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/" | ||
3 | SECTION = "audio" | ||
4 | |||
5 | DEPENDS = "abseil-cpp" | ||
6 | DEPENDS:append:libc-musl = " libexecinfo" | ||
7 | |||
8 | LICENSE = "BSD-3-Clause" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=da08a38a32a340c5d91e13ee86a118f2" | ||
10 | |||
11 | SRC_URI = " \ | ||
12 | http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-${PV}.tar.xz \ | ||
13 | file://0001-add-missing-header-for-musl.patch \ | ||
14 | " | ||
15 | SRC_URI[sha256sum] = "2365e93e778d7b61b5d6e02d21c47d97222e9c7deff9e1d0838ad6ec2e86f1b9" | ||
16 | S = "${WORKDIR}/webrtc-audio-processing-${PV}" | ||
17 | |||
18 | LDFLAGS:append:libc-musl = " -lexecinfo" | ||
19 | |||
20 | inherit meson pkgconfig | ||