fix missing patch in src.rpm
Signed-off-by: liweigang <liweiganga@uniontech.com> (cherry picked from commit 473528699e4ba01bff117f0d50eb9d0a64d7b398)
This commit is contained in:
parent
24c79ecb30
commit
53084e617d
@ -1,17 +1,16 @@
|
|||||||
Name: webrtc-audio-processing
|
Name: webrtc-audio-processing
|
||||||
Version: 1.3
|
Version: 1.3
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
|
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
|
||||||
Source0: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.gz
|
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
|
Patch6001: 0001-add-sw_64-architecture.patch
|
||||||
%endif
|
# loongarch64 riscv64 ppc64le
|
||||||
%ifarch loongarch64 riscv64 ppc64le
|
|
||||||
Patch6002: webrtc-fix-typedefs-on-other-arches.patch
|
Patch6002: webrtc-fix-typedefs-on-other-arches.patch
|
||||||
%endif
|
|
||||||
BuildRequires: autoconf automake libtool gcc gcc-c++
|
BuildRequires: autoconf automake libtool gcc gcc-c++
|
||||||
BuildRequires: meson abseil-cpp-devel cmake
|
BuildRequires: meson abseil-cpp-devel cmake
|
||||||
Requires: abseil-cpp
|
Requires: abseil-cpp
|
||||||
@ -33,7 +32,13 @@ Header files for webrtc-audio-processing
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%setup -q %{name}-%{version}
|
||||||
|
%ifarch sw_64
|
||||||
|
%patch6001 -p1
|
||||||
|
%endif
|
||||||
|
%ifarch loongarch64 riscv64 ppc64le
|
||||||
|
%patch6002 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#compile failiure reference:https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/9
|
#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
|
%doc NEWS
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 28 2023 peng.zou <peng.zou@shingroup.cn> - 1.3-2
|
||||||
- Add support of ppc64le
|
- Add support of ppc64le
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user