summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2/e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch50
-rw-r--r--meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2_2.1.bb20
2 files changed, 70 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2/e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2/e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch
new file mode 100644
index 0000000000..3e2ac72c69
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2/e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch
@@ -0,0 +1,50 @@
1From e9c78dc4712fa6362b0c839ad57b6b46dce1ba83 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= <francois@centricular.com>
3Date: Mon, 14 Apr 2025 16:48:19 +0200
4Subject: [PATCH] Fix compilation with gcc-15
5
6This commit fixes compilation errors with gcc-15 (default for Fedora 42).
7
8From [1]:
9
10> Common C++ headers (like <memory>) in GCC 15.0.0 (combined with libstdc++)
11> don't transitively include uint64_t anymore.
12
13See also [2].
14
15[1]: https://github.com/ROCm/rocm_smi_lib/pull/198
16[2]: https://github.com/root-project/root/issues/17444
17
18Upstream-Status: Backport [https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch]
19---
20 .../audio_processing/aec3/multi_channel_content_detector.h | 1 +
21 webrtc/rtc_base/trace_event.h | 1 +
22 2 files changed, 2 insertions(+)
23
24diff --git a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
25index 2b2f3b8..feb29fd 100644
26--- a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
27+++ b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h
28@@ -12,6 +12,7 @@
29 #define MODULES_AUDIO_PROCESSING_AEC3_MULTI_CHANNEL_CONTENT_DETECTOR_H_
30
31 #include <stddef.h>
32+#include <cstdint>
33
34 #include <memory>
35 #include <optional>
36diff --git a/webrtc/rtc_base/trace_event.h b/webrtc/rtc_base/trace_event.h
37index 2aee713..f88a68e 100644
38--- a/webrtc/rtc_base/trace_event.h
39+++ b/webrtc/rtc_base/trace_event.h
40@@ -28,6 +28,7 @@
41
42 #if !defined(RTC_USE_PERFETTO)
43 #include <string>
44+#include <cstdint>
45
46 #include "rtc_base/event_tracer.h"
47
48--
49GitLab
50
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2_2.1.bb b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2_2.1.bb
new file mode 100644
index 0000000000..00bf26c750
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-2_2.1.bb
@@ -0,0 +1,20 @@
1DESCRIPTION = "Audio processing bits of the WebRTC reference implementation"
2HOMEPAGE = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"
3SECTION = "audio"
4
5DEPENDS = "abseil-cpp"
6DEPENDS:append:libc-musl = " libexecinfo"
7
8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://COPYING;md5=da08a38a32a340c5d91e13ee86a118f2"
10
11SRC_URI = " \
12 http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-${PV}.tar.xz \
13 file://e9c78dc4712fa6362b0c839ad57b6b46dce1ba83.patch \
14"
15SRC_URI[sha256sum] = "ae9302824b2038d394f10213cab05312c564a038434269f11dbf68f511f9f9fe"
16S = "${WORKDIR}/webrtc-audio-processing-${PV}"
17
18LDFLAGS:append:libc-musl = " -lexecinfo"
19
20inherit meson pkgconfig