2019-09-30 11:19:48 -04:00
|
|
|
Name: webrtc-audio-processing
|
2021-12-08 20:01:51 +08:00
|
|
|
Version: 1.0
|
2023-07-20 11:36:32 +00:00
|
|
|
Release: 8
|
2019-09-30 11:19:48 -04:00
|
|
|
Summary: Real-Time Communication Library for Web Browsers
|
|
|
|
|
License: BSD and MIT
|
|
|
|
|
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
|
2021-12-08 20:01:51 +08:00
|
|
|
Source0: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# fix building failed
|
|
|
|
|
Patch6000: Backport-Use-cmake-to-look-up-abseil-dependency.patch
|
2022-11-30 02:57:45 +00:00
|
|
|
%ifarch sw_64
|
|
|
|
|
Patch6001: webrtc-audio-processing-1.0-sw.patch
|
|
|
|
|
%endif
|
2023-07-07 12:33:54 +08:00
|
|
|
%ifarch loongarch64 riscv64
|
2022-11-30 02:57:45 +00:00
|
|
|
Patch6002: webrtc-fix-typedefs-on-other-arches.patch
|
2022-11-14 08:37:58 +00:00
|
|
|
%endif
|
2019-09-30 11:19:48 -04:00
|
|
|
BuildRequires: autoconf automake libtool gcc gcc-c++
|
2022-03-25 01:59:51 +00:00
|
|
|
BuildRequires: meson abseil-cpp-devel cmake
|
2021-12-08 20:01:51 +08:00
|
|
|
Requires: abseil-cpp
|
2019-09-30 11:19:48 -04:00
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2023-07-20 11:36:32 +00:00
|
|
|
#compile failiure reference:https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/9
|
|
|
|
|
sed -i '/vector/a #include <memory>' webrtc/modules/audio_processing/aec3/reverb_model_estimator.h
|
|
|
|
|
%meson -Dc_std=c17 -Dcpp_std=c++17
|
2021-12-08 20:01:51 +08:00
|
|
|
%meson_build
|
2019-09-30 11:19:48 -04:00
|
|
|
|
|
|
|
|
%install
|
2021-12-08 20:01:51 +08:00
|
|
|
%meson_install
|
2019-09-30 11:19:48 -04:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README.md AUTHORS
|
|
|
|
|
%license COPYING
|
2021-12-08 20:01:51 +08:00
|
|
|
%{_libdir}/libwebrtc-audio-processing-1.so.*
|
|
|
|
|
%{_libdir}/libwebrtc-audio-coding-1.so.*
|
2019-09-30 11:19:48 -04:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2021-12-08 20:01:51 +08:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_includedir}/webrtc-audio-processing-1/*
|
|
|
|
|
|
2019-09-30 11:19:48 -04:00
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc NEWS
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-07-20 11:36:32 +00:00
|
|
|
* Thu Jul 20 2023 EulerOSWander <314264452@qq.com> - 1.0-8
|
|
|
|
|
- Fix compile error
|
|
|
|
|
|
2023-07-07 12:33:54 +08:00
|
|
|
* Fri Jul 07 2023 laokz <zhangkai@iscas.ac.cn> - 1.0-7
|
|
|
|
|
- Fix riscv64 typedef error
|
|
|
|
|
|
2022-11-30 02:57:45 +00:00
|
|
|
* Wed Nov 30 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.0-6
|
|
|
|
|
- Optimize the patch for add sw architecture
|
|
|
|
|
|
|
|
|
|
* Mon Nov 14 2022 huajingyun <huajingyun@loongson.cn> - 1.0-5
|
2022-11-14 08:37:58 +00:00
|
|
|
- Add support of loongarch64
|
|
|
|
|
|
2022-11-30 02:57:45 +00:00
|
|
|
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 1.0-4
|
|
|
|
|
- Add sw64 architecture
|
|
|
|
|
|
2022-03-25 01:59:51 +00:00
|
|
|
* Fri Mar 25 2022 wangkerong <wangkerong@h-partners.com> - 1.0-3
|
|
|
|
|
- remove self-dependency
|
|
|
|
|
|
|
|
|
|
* Wed Dec 22 2021 wangkerong <wangkerong@huawei.com> - 1.0-2
|
2021-12-22 14:53:22 +08:00
|
|
|
- add the missing libwebrtc_audio_processing.so.1 fix building error
|
|
|
|
|
|
2021-12-08 20:01:51 +08:00
|
|
|
* Wed Dec 08 2021 wangkerong <wangkerong@huawei.com> - 1.0-1
|
|
|
|
|
- update to 1.0
|
|
|
|
|
|
2020-11-20 15:35:10 +08:00
|
|
|
* Fri Nov 20 2020 yangyanchao <yangyanchao6@huawei.com> - 0.3.1-5
|
|
|
|
|
- Cleancode: add patch id, change patch name
|
|
|
|
|
|
2020-11-09 09:53:32 +08:00
|
|
|
* Mon Nov 9 2020 yangyanchao <yangyanchao6@huawei.com> - 0.3.1-4
|
|
|
|
|
- Supports the riscv
|
|
|
|
|
|
2020-01-10 14:37:12 +08:00
|
|
|
* Fri Jan 10 2020 zhangrui <zhangrui182@huawei.com> - 0.3.1-3
|
|
|
|
|
- Remove unnecessary patches
|
|
|
|
|
|
2019-09-30 11:19:48 -04:00
|
|
|
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.1-2
|
|
|
|
|
- Package init
|