Name: webrtc-audio-processing Version: 1.3 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 # sw_64 Patch6001: 0001-add-sw_64-architecture.patch # loongarch64 riscv64 ppc64le Patch6002: webrtc-fix-typedefs-on-other-arches.patch BuildRequires: autoconf automake libtool gcc gcc-c++ BuildRequires: meson abseil-cpp-devel cmake Requires: abseil-cpp %description WebRTC is an open source project that enables web browsers with Real-Time Communications (RTC) capabilities via simple Javascript APIs. The WebRTC components have been optimized to best serve this purpose. WebRTC implements the W3C's proposal for video conferencing on the web. %package devel Summary: Header files for webrtc-audio-processing Requires: %{name} = %{version}-%{release} %description devel Header files for webrtc-audio-processing %package_help %prep %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 sed -i '/vector/a #include ' webrtc/modules/audio_processing/aec3/reverb_model_estimator.h %meson -Dc_std=c17 -Dcpp_std=c++17 %meson_build %install %meson_install %files %defattr(-,root,root) %doc README.md AUTHORS %license COPYING %{_libdir}/libwebrtc-audio-processing-1.so.* %{_libdir}/libwebrtc-audio-coding-1.so.* %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_includedir}/webrtc-audio-processing-1/* %files help %defattr(-,root,root) %doc NEWS %changelog * Tue May 28 2024 liweigang - 1.3-3 - fix missing patch in src.rpm * Tue Nov 28 2023 peng.zou - 1.3-2 - Add support of ppc64le * Wed Oct 18 2023 li weigang - - 1.3-1 - update to version 1.3 * Thu Jul 20 2023 EulerOSWander <314264452@qq.com> - 1.0-8 - Fix compile error * Fri Jul 07 2023 laokz - 1.0-7 - Fix riscv64 typedef error * Wed Nov 30 2022 zhouwenpei - 1.0-6 - Optimize the patch for add sw architecture * Mon Nov 14 2022 huajingyun - 1.0-5 - Add support of loongarch64 * Wed Oct 26 2022 wuzx - 1.0-4 - Add sw64 architecture * Fri Mar 25 2022 wangkerong - 1.0-3 - remove self-dependency * Wed Dec 22 2021 wangkerong - 1.0-2 - add the missing libwebrtc_audio_processing.so.1 fix building error * Wed Dec 08 2021 wangkerong - 1.0-1 - update to 1.0 * Fri Nov 20 2020 yangyanchao - 0.3.1-5 - Cleancode: add patch id, change patch name * Mon Nov 9 2020 yangyanchao - 0.3.1-4 - Supports the riscv * Fri Jan 10 2020 zhangrui - 0.3.1-3 - Remove unnecessary patches * Fri Sep 6 2019 openEuler Buildteam - 0.3.1-2 - Package init