webrtc-audio-processing: enable neon for aarch64
Oops: on aarch64* neon is available. Disable only for arm*.
This commit is contained in:
parent
89beb03641
commit
74dfe31f8c
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue