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