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