automatic version update by autodist [release 1.1-1mamba;Wed Jun 07 2023]

This commit is contained in:
Automatic Build System 2024-01-05 19:13:23 +01:00
parent 80272c410a
commit a4d873d6ef
2 changed files with 38 additions and 19 deletions

View File

@ -0,0 +1,10 @@
--- webrtc-audio-processing-1.1/meson.build.orig 2023-06-24 15:52:29.162999046 +0200
+++ webrtc-audio-processing-1.1/meson.build 2023-06-24 15:52:43.254917884 +0200
@@ -61,6 +61,7 @@
dependency('absl_synchronization'),
]
+os_cflags = ['-march=native']
if ['darwin', 'ios'].contains(host_system)
os_cflags = ['-DWEBRTC_MAC']
if host_system == 'ios'

View File

@ -1,6 +1,7 @@
%define apiver %(echo %version | cut -d. -f1)
Name: webrtc-audio-processing Name: webrtc-audio-processing
Version: 0.3.1 Version: 1.1
Release: 3mamba Release: 1mamba
Summary: FreeDesktop implementation of the Audio Processing module from the WebRTC project Summary: FreeDesktop implementation of the Audio Processing module from the WebRTC project
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: openmamba Vendor: openmamba
@ -9,9 +10,11 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/ 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 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 Patch0: webrtc-audio-processing-0.3.1-fix-typedefs-on-other-arches.patch
Patch1: webrtc-audio-processing-1.1-i586-march-native.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libabseil-cpp-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -40,24 +43,24 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .fix-typedefs-on-other-arches #%patch 0 -p1 -b .fix-typedefs-on-other-arches
%ifarch %{ix86}
NOCONFIGURE=1 ./autogen.sh %patch 1 -p1
%endif
%build %build
%configure \ %meson
%ifarch %{arm} aarch64
--enable-neon=no \
%endif
--disable-silent-rules \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool %meson_build
%make
#% configure \
#% ifarch %{arm} aarch64
# --enable-neon=no \
#% endif
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %meson_install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -67,18 +70,24 @@ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libwebrtc_audio_processing.so.* %{_libdir}/libwebrtc-audio-coding-%{apiver}.so.*
%{_libdir}/libwebrtc-audio-processing-%{apiver}.so.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/webrtc_audio_processing %dir %{_includedir}/webrtc-audio-processing-%{apiver}
%{_includedir}/webrtc_audio_processing/* %{_includedir}/webrtc-audio-processing-%{apiver}/*
%{_libdir}/libwebrtc_audio_processing.so %{_libdir}/libwebrtc-audio-coding-%{apiver}.so
%{_libdir}/pkgconfig/webrtc-audio-processing.pc %{_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 %doc NEWS README README.md
%changelog %changelog
* Wed Jun 07 2023 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist
* Wed Sep 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-3mamba * Wed Sep 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-3mamba
- rebuilt without .la file - rebuilt without .la file