From ff19cf4a3a5cb653aace0fbb0ac14891966bf81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Mon, 27 May 2024 16:06:46 +0800 Subject: [PATCH] Fix missing patch in source code package modify spec modify spec modify spec --- webrtc-audio-processing.spec | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/webrtc-audio-processing.spec b/webrtc-audio-processing.spec index 95580a3..72d3e41 100644 --- a/webrtc-audio-processing.spec +++ b/webrtc-audio-processing.spec @@ -1,17 +1,17 @@ Name: webrtc-audio-processing Version: 1.3 -Release: 2 +Release: 3 Summary: Real-Time Communication Library for Web Browsers License: BSD and MIT URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/ Source0: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.gz -%ifarch sw_64 +# %ifarch sw_64 Patch6001: 0001-add-sw_64-architecture.patch -%endif -%ifarch loongarch64 riscv64 ppc64le +# %endif +# %ifarch loongarch64 riscv64 ppc64le Patch6002: webrtc-fix-typedefs-on-other-arches.patch -%endif +# %endif BuildRequires: autoconf automake libtool gcc gcc-c++ BuildRequires: meson abseil-cpp-devel cmake Requires: abseil-cpp @@ -33,7 +33,16 @@ Header files for webrtc-audio-processing %package_help %prep -%autosetup -n %{name}-%{version} -p1 +# %autosetup -n %{name}-%{version} -p1 +%setup -n %{name}-%{version} + +%ifarch sw_64 +%patch6001 -p1 +%endif + +%ifarch loongarch64 riscv64 ppc64le +%patch6002 -p1 +%endif %build #compile failiure reference:https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/9 @@ -62,6 +71,9 @@ sed -i '/vector/a #include ' webrtc/modules/audio_processing/aec3/reverb %doc NEWS %changelog +* Mon May 27 2024 shenzhongwei 1.3-3 +- Fix missing patch in source code package + * Tue Nov 28 2023 peng.zou - 1.3-2 - Add support of ppc64le -- Gitee