]> git.pld-linux.org Git - packages/webrtc-audio-processing.git/blobdiff - webrtc-audio-processing.spec
disable neon on not applicable archs
[packages/webrtc-audio-processing.git] / webrtc-audio-processing.spec
index c45d16949da2683998ab30cc9bccf4aa90ea1840..0fab2344f8d70beddd01f745aace046e042cd448 100644 (file)
@@ -3,20 +3,27 @@
 # AudioProcessing module from the WebRTC[1] project. The ideal case is that we
 # make no changes to the code to make tracking upstream code easy.
 # [1] http://code.google.com/p/webrtc/
+#
+# Conditional build:
+%bcond_without neon            # without ARM NEON instructions
+
+%ifnarch armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64
+%undefine      with_neon
+%endif
+
 Summary:       WebRTC Audio Processing library
 Summary(pl.UTF-8):     Biblioteka WebRTC Audio Processing
 Name:          webrtc-audio-processing
-Version:       0.1
-Release:       2
+Version:       0.3.1
+Release:       1
 License:       BSD
 Group:         Libraries
-Source0:       http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
-# Source0-md5: da25bb27812c8404060d4cc0dc712f04
-Patch0:                link.patch
-URL:           http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
+Source0:       https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
+# Source0-md5: 6e10724ca34bcbc715a4c208273acb0c
+URL:           https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
 BuildRequires: autoconf >= 2.50
-BuildRequires: automake
-BuildRequires: libstdc++-devel
+BuildRequires: automake >= 1:1.11
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libtool
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
@@ -65,7 +72,6 @@ Biblioteka statyczna WebRTC Audio Processing.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -73,6 +79,7 @@ Biblioteka statyczna WebRTC Audio Processing.
 %{__autoconf}
 %{__automake}
 %configure \
+       %{!?with_neon:--disable-neon} \
        --disable-silent-rules
 %{__make}
 
@@ -92,9 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING NEWS PATENTS README
+%doc AUTHORS COPYING NEWS README.md webrtc/PATENTS
 %attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libwebrtc_audio_processing.so.0
+%attr(755,root,root) %ghost %{_libdir}/libwebrtc_audio_processing.so.1
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.076128 seconds and 4 git commands to generate.