[packages/webrtc-audio-processing1] up to 1.3 (new sonames)

atler atler at pld-linux.org
Thu Sep 14 16:03:12 CEST 2023


commit 6d539b60dd922f024cb5ff3ca88bb022bfd239a2
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Sep 14 13:47:08 2023 +0200

    up to 1.3 (new sonames)

 cxx17.patch                           | 36 -----------------------------------
 webrtc-audio-processing1-abseil.patch | 11 -----------
 webrtc-audio-processing1.spec         | 19 ++++++++----------
 3 files changed, 8 insertions(+), 58 deletions(-)
---
diff --git a/webrtc-audio-processing1.spec b/webrtc-audio-processing1.spec
index 10cd43e..fa24e14 100644
--- a/webrtc-audio-processing1.spec
+++ b/webrtc-audio-processing1.spec
@@ -18,20 +18,19 @@
 Summary:	WebRTC Audio Processing library
 Summary(pl.UTF-8):	Biblioteka WebRTC Audio Processing
 Name:		webrtc-audio-processing1
-Version:	1.0
-Release:	6
+Version:	1.3
+Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-%{version}.tar.gz
-# Source0-md5:	8ee1b2f3e615c6c2024951c559a9913a
-Patch0:		%{name}-abseil.patch
-Patch1:		%{name}-nosimd.patch
-Patch2:		cxx17.patch
+# Source0-md5:	743bf4f5c7132560b1af33aaa0129228
+Patch0:		%{name}-nosimd.patch
 URL:		https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
 BuildRequires:	abseil-cpp-devel >= 20200923
 BuildRequires:	libstdc++-devel >= 6:5
-BuildRequires:	meson >= 0.54
+BuildRequires:	meson >= 0.63
 BuildRequires:	ninja >= 1.5
+BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -80,8 +79,6 @@ Biblioteka statyczna WebRTC Audio Processing.
 %prep
 %setup -q -n webrtc-audio-processing-%{version}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %ifarch %{ix86}
 %if %{without sse2}
@@ -114,8 +111,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING NEWS README.md webrtc/PATENTS
-%attr(755,root,root) %{_libdir}/libwebrtc-audio-coding-1.so.0
-%attr(755,root,root) %{_libdir}/libwebrtc-audio-processing-1.so.0
+%attr(755,root,root) %{_libdir}/libwebrtc-audio-coding-1.so.3
+%attr(755,root,root) %{_libdir}/libwebrtc-audio-processing-1.so.3
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/cxx17.patch b/cxx17.patch
deleted file mode 100644
index d3f1323..0000000
--- a/cxx17.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- webrtc-audio-processing-1.0/meson.build~	2021-12-01 22:21:02.000000000 +0100
-+++ webrtc-audio-processing-1.0/meson.build	2021-12-01 23:46:59.069767222 +0100
-@@ -4,7 +4,7 @@
-   default_options : [ 'warning_level=1',
-                       'buildtype=debugoptimized',
-                       'c_std=c11',
--                      'cpp_std=c++14',
-+                      'cpp_std=c++17',
-                     ]
- )
- 
-From 6064932abf662db451defe7326fc2dd0c3016f99 Mon Sep 17 00:00:00 2001
-From: Arun Raghavan <arun at asymptotic.io>
-Date: Tue, 19 Oct 2021 16:01:05 -0400
-Subject: [PATCH] Add missing header for C++17 compatibility
-
-Hopefully we can drop this change with the next update.
----
- webrtc/modules/audio_processing/aec3/reverb_frequency_response.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h b/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h
-index b164186..84ea441 100644
---- a/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h
-+++ b/webrtc/modules/audio_processing/aec3/reverb_frequency_response.h
-@@ -12,6 +12,7 @@
- #define MODULES_AUDIO_PROCESSING_AEC3_REVERB_FREQUENCY_RESPONSE_H_
- 
- #include <array>
-+#include <memory>
- #include <vector>
- 
- #include "absl/types/optional.h"
--- 
-GitLab
-
diff --git a/webrtc-audio-processing1-abseil.patch b/webrtc-audio-processing1-abseil.patch
deleted file mode 100644
index 4978c24..0000000
--- a/webrtc-audio-processing1-abseil.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- webrtc-audio-processing-1.0/meson.build.orig	2020-11-27 20:30:53.000000000 +0100
-+++ webrtc-audio-processing-1.0/meson.build	2021-03-14 12:53:34.720849883 +0100
-@@ -46,7 +46,7 @@
-   cpp.find_library('absl_flags_internal'),
-   cpp.find_library('absl_flags_marshalling'),
-   cpp.find_library('absl_flags_parse'),
--  cpp.find_library('absl_flags_registry'),
-+  cpp.find_library('absl_flags_reflection'),
-   cpp.find_library('absl_flags_usage_internal'),
-   cpp.find_library('absl_raw_logging_internal'),
-   cpp.find_library('absl_strings'),
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/webrtc-audio-processing1.git/commitdiff/6d539b60dd922f024cb5ff3ca88bb022bfd239a2



More information about the pld-cvs-commit mailing list