webrtc-audio-processing: enable neon for aarch64

Oops: on aarch64* neon is available. Disable only for arm*.
This commit is contained in:
Juergen Buchmueller 2016-12-12 09:00:54 +01:00
parent 89beb03641
commit 74dfe31f8c
1 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,8 @@
# Template file for 'webrtc-audio-processing' # Template file for 'webrtc-audio-processing'
pkgname=webrtc-audio-processing pkgname=webrtc-audio-processing
version=0.3 version=0.3
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-neon=no"
patch_args="-p1" patch_args="-p1"
short_desc="AudioProcessing library based on Google's implementation of WebRTC" short_desc="AudioProcessing library based on Google's implementation of WebRTC"
hostmakedepends="automake libtool" hostmakedepends="automake libtool"
@ -13,6 +12,11 @@ homepage="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
distfiles="${homepage}/${pkgname}-${version}.tar.xz" distfiles="${homepage}/${pkgname}-${version}.tar.xz"
checksum=756e291d4f557d88cd50c4fe3b8454ec238362d22cedb3e6173240d90f0a80fa checksum=756e291d4f557d88cd50c4fe3b8454ec238362d22cedb3e6173240d90f0a80fa
case "$XBPS_TARGET_MACHINE" in
# Disable neon for the arm* architectures
arm*) configure_args+=" --enable-neon=no"
esac
pre_configure() { pre_configure() {
# Remove failing statement PKG_CHECK_MODULE(GNUSTL, gnustl) # Remove failing statement PKG_CHECK_MODULE(GNUSTL, gnustl)
sed -i configure.ac -e'/if test "x$with_gnustl" != "xno"; then/,+2d' sed -i configure.ac -e'/if test "x$with_gnustl" != "xno"; then/,+2d'