webrtc-audio-processing/webrtc-audio-processing.spec

117 lines
3.3 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:19:48 -04:00
Name: webrtc-audio-processing
2023-10-18 16:08:50 +08:00
Version: 1.3
Release: 4
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
# sw_64
2023-10-18 16:08:50 +08:00
Patch6001: 0001-add-sw_64-architecture.patch
# loongarch64 riscv64 ppc64le
Patch6002: webrtc-fix-typedefs-on-other-arches.patch
2019-09-30 11:19:48 -04:00
BuildRequires: autoconf automake libtool gcc gcc-c++
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
%setup -q %{name}-%{version}
%ifarch sw_64
%patch -P 6001 -p1
%endif
%ifarch loongarch64 riscv64 ppc64le
%patch -P 6002 -p1
%endif
2019-09-30 11:19:48 -04:00
%build
#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
* Wed Dec 04 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 1.3-4
- fix: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
* Tue May 28 2024 liweigang <liweiganga@uniontech.com> - 1.3-3
- fix missing patch in src.rpm
2023-11-28 14:48:28 +08:00
* Tue Nov 28 2023 peng.zou <peng.zou@shingroup.cn> - 1.3-2
- Add support of ppc64le
2023-10-18 16:08:50 +08:00
* Wed Oct 18 2023 li weigang - <weigangli99@gmail.com> - 1.3-1
- update to version 1.3
* 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
* 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
- Add support of loongarch64
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 1.0-4
- Add sw64 architecture
* 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
* Fri Nov 20 2020 yangyanchao <yangyanchao6@huawei.com> - 0.3.1-5
- Cleancode: add patch id, change patch name
* 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