From 74dfe31f8c83c91c5aec961444b649a7e12d2a53 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Mon, 12 Dec 2016 09:00:54 +0100 Subject: [PATCH] webrtc-audio-processing: enable neon for aarch64 Oops: on aarch64* neon is available. Disable only for arm*. --- srcpkgs/webrtc-audio-processing/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/webrtc-audio-processing/template b/srcpkgs/webrtc-audio-processing/template index fe2f9b9ad96..06a99dbc7fc 100644 --- a/srcpkgs/webrtc-audio-processing/template +++ b/srcpkgs/webrtc-audio-processing/template @@ -1,9 +1,8 @@ # Template file for 'webrtc-audio-processing' pkgname=webrtc-audio-processing version=0.3 -revision=2 +revision=3 build_style=gnu-configure -configure_args="--enable-neon=no" patch_args="-p1" short_desc="AudioProcessing library based on Google's implementation of WebRTC" hostmakedepends="automake libtool" @@ -13,6 +12,11 @@ homepage="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing" distfiles="${homepage}/${pkgname}-${version}.tar.xz" checksum=756e291d4f557d88cd50c4fe3b8454ec238362d22cedb3e6173240d90f0a80fa +case "$XBPS_TARGET_MACHINE" in + # Disable neon for the arm* architectures + arm*) configure_args+=" --enable-neon=no" +esac + pre_configure() { # Remove failing statement PKG_CHECK_MODULE(GNUSTL, gnustl) sed -i configure.ac -e'/if test "x$with_gnustl" != "xno"; then/,+2d'