!37 [sync] PR-35: fix missing patch in src.rpm

From: @openeuler-sync-bot 
Reviewed-by: @weidongkl, @open-bot 
Signed-off-by: @open-bot, @weidongkl
This commit is contained in:
openeuler-ci-bot 2024-11-01 01:45:13 +00:00 committed by Gitee
commit bea0b31367
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,17 +1,16 @@
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
# sw_64
Patch6001: 0001-add-sw_64-architecture.patch
%endif
%ifarch loongarch64 riscv64 ppc64le
# loongarch64 riscv64 ppc64le
Patch6002: webrtc-fix-typedefs-on-other-arches.patch
%endif
BuildRequires: autoconf automake libtool gcc gcc-c++
BuildRequires: meson abseil-cpp-devel cmake
Requires: abseil-cpp
@ -33,7 +32,13 @@ Header files for webrtc-audio-processing
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%setup -q %{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 +67,9 @@ sed -i '/vector/a #include <memory>' webrtc/modules/audio_processing/aec3/reverb
%doc NEWS
%changelog
* Tue May 28 2024 liweigang <liweiganga@uniontech.com> - 1.3-3
- fix missing patch in src.rpm
* Tue Nov 28 2023 peng.zou <peng.zou@shingroup.cn> - 1.3-2
- Add support of ppc64le