From 50b19c6b70a198e7578e7682346695f1eb56f820 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 24 Aug 2014 23:02:46 +0200 Subject: [PATCH] audacity: use SSE only where possible --- srcpkgs/audacity/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/audacity/template b/srcpkgs/audacity/template index dc71bda2cc2..15dbe916692 100644 --- a/srcpkgs/audacity/template +++ b/srcpkgs/audacity/template @@ -1,10 +1,13 @@ # Template file for 'audacity' pkgname=audacity version=2.0.5 -revision=3 +revision=4 wrksrc=${pkgname}-src-${version} build_style=gnu-configure configure_args="--with-libsamplerate" +if ! [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then + configure_args+=" --disable-sse" +fi hostmakedepends="pkg-config cmake" makedepends="wxGTK-devel gtk+-devel expat-devel libsndfile-devel libmad-devel libsamplerate-devel soundtouch-devel