[Lunar-commits] <moonbase> soundtouch: Version bump. Adding a configure for user choice and adjusting
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Tue Dec 21 21:47:39 CET 2010
commit bdf7f77ad736dadf8e06b446c32b5f321b03412a
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Tue Dec 21 15:47:39 2010 -0500
soundtouch: Version bump. Adding a configure for user choice and adjusting
the BUILD as it is noted.
---
audio/soundtouch/BUILD | 15 ++++++++++++---
audio/soundtouch/CONFIGURE | 1 +
audio/soundtouch/DETAILS | 7 ++++---
3 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/audio/soundtouch/BUILD b/audio/soundtouch/BUILD
index 7bd70f0..de672c2 100644
--- a/audio/soundtouch/BUILD
+++ b/audio/soundtouch/BUILD
@@ -1,10 +1,19 @@
(
- #GCC >= 4.3 requires the c prefix
- sedit 's:<string>:<cstring>:g' source/example/SoundStretch/WavFile.cpp
+# This disables some optimizations else /usr/bin/soundstretch will segfault.
+# And I am not using any crazy settings, just O2, pipe and native.
+ sedit "s:#define ALLOW_X86_OPTIMIZATIONS 1::" include/STTypes.h &&
- OPTS="--enable-shared"
./bootstrap &&
+
+ OPTS="--enable-shared" &&
+
+ if [ $USE_INTEGERS == "y" ] ; then
+ OPTS="--enable-integer-samples"
+ else
+ OPTS="--disable-integer-samples"
+ fi &&
+
default_build
) > $C_FIFO 2>&1
diff --git a/audio/soundtouch/CONFIGURE b/audio/soundtouch/CONFIGURE
new file mode 100644
index 0000000..e1eab06
--- /dev/null
+++ b/audio/soundtouch/CONFIGURE
@@ -0,0 +1 @@
+mquery USE_INTEGERS "Use integer samples instead of floats?" y
diff --git a/audio/soundtouch/DETAILS b/audio/soundtouch/DETAILS
index e03ce8a..98717a2 100644
--- a/audio/soundtouch/DETAILS
+++ b/audio/soundtouch/DETAILS
@@ -1,11 +1,12 @@
MODULE=soundtouch
- VERSION=1.3.1
+ VERSION=1.5.0
SOURCE=${MODULE}-${VERSION}.tar.gz
SOURCE_URL=http://www.surina.net/$MODULE
- SOURCE_VFY=sha1:0b63e71dc94c917ce9f48431789a001063884cc8
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+ SOURCE_VFY=sha1:c3e73419acec242a49a408b78c55883def937fc0
WEB_SITE=http://www.surina.net/soundtouch/
ENTERED=20051018
- UPDATED=20070606
+ UPDATED=20101221
SHORT="audio processing library"
cat << EOF
SoundTouch is an open-source audio processing library for changing the Tempo,
More information about the Lunar-commits
mailing list