]> 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 cb962931c3970df244b556389be6b9ecf47c299f..0fab2344f8d70beddd01f745aace046e042cd448 100644 (file)
@@ -3,19 +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.3
+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: 336ae032f608e65808ac577cde0ab72c
-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
@@ -71,6 +79,7 @@ Biblioteka statyczna WebRTC Audio Processing.
 %{__autoconf}
 %{__automake}
 %configure \
+       %{!?with_neon:--disable-neon} \
        --disable-silent-rules
 %{__make}
 
@@ -90,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING NEWS webrtc/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.1
 
This page took 0.050045 seconds and 4 git commands to generate.