rebuilt with libabseil-cpp 20250127.0 [release 2.1-2mamba;Sun Feb 16 2025]

This commit is contained in:
Silvan Calarco 2025-02-17 19:58:37 +01:00
parent dcbbffbd64
commit 6aa64a5812
2 changed files with 12 additions and 40 deletions

View File

@ -1,24 +0,0 @@
diff -up webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef webrtc-audio-processing-0.2/webrtc/typedefs.h
--- webrtc-audio-processing-0.2/webrtc/typedefs.h.typedef 2016-05-12 09:08:53.885000410 -0500
+++ webrtc-audio-processing-0.2/webrtc/typedefs.h 2016-05-12 09:12:38.006851953 -0500
@@ -48,7 +48,19 @@
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#else
-#error Please add support for your architecture in typedefs.h
+/* instead of failing, use typical unix defines... */
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+#define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define WEBRTC_ARCH_BIG_ENDIAN
+#else
+#error __BYTE_ORDER__ is not defined
+#endif
+#if defined(__LP64__)
+#define WEBRTC_ARCH_64_BITS
+#else
+#define WEBRTC_ARCH_32_BITS
+#endif
#endif
#if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))

View File

@ -1,7 +1,7 @@
%define apiver %(echo %version | cut -d. -f1)
Name: webrtc-audio-processing
Version: 1.3
Release: 1mamba
Version: 2.1
Release: 2mamba
Summary: FreeDesktop implementation of the Audio Processing module from the WebRTC project
Group: Applications/Multimedia
Vendor: openmamba
@ -9,7 +9,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
Source: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing.git/v%{version}/webrtc-audio-processing-%{version}.tar.bz2
Patch0: webrtc-audio-processing-0.3.1-fix-typedefs-on-other-arches.patch
Patch1: webrtc-audio-processing-1.2-i586-march-native.patch
License: BSD
## AUTOBUILDREQ-BEGIN
@ -18,6 +17,7 @@ BuildRequires: libabseil-cpp-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libabseil-cpp-devel >= 20250127.0
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
@ -39,11 +39,8 @@ Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#%patch 0 -p1 -b .fix-typedefs-on-other-arches
%ifarch %{ix86}
%patch 1 -p1
%endif
@ -53,11 +50,6 @@ This package contains libraries and header files for developing applications tha
%meson_build
#% configure \
#% ifarch %{arm} aarch64
# --enable-neon=no \
#% endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
@ -65,12 +57,9 @@ This package contains libraries and header files for developing applications tha
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libwebrtc-audio-coding-%{apiver}.so.*
%{_libdir}/libwebrtc-audio-processing-%{apiver}.so.*
%doc AUTHORS COPYING
@ -78,13 +67,20 @@ This package contains libraries and header files for developing applications tha
%defattr(-,root,root)
%dir %{_includedir}/webrtc-audio-processing-%{apiver}
%{_includedir}/webrtc-audio-processing-%{apiver}/*
%{_libdir}/libwebrtc-audio-coding-%{apiver}.so
%{_libdir}/libwebrtc-audio-processing-%{apiver}.so
%{_libdir}/pkgconfig/webrtc-audio-coding-1.pc
%{_libdir}/pkgconfig/webrtc-audio-processing-%{apiver}.pc
%doc NEWS README README.md
%changelog
* Sun Feb 16 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1-2mamba
- rebuilt with libabseil-cpp 20250127.0
* Tue Jan 28 2025 Automatic Build System <autodist@openmamba.org> 2.1-1mamba
- automatic version update by autodist
* Mon Jan 27 2025 Automatic Build System <autodist@openmamba.org> 2.0-1mamba
- automatic version update by autodist
* Sun Sep 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- update to 1.3