diff options
| author | Jonathan Wright | 2010-01-03 15:09:54 +1300 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-28 08:46:56 -0700 |
| commit | 3b2abab57b3e09f27754063d086235e5a98f2c23 (patch) | |
| tree | be4895e34456adc7a5816b81973b8d55e11159fe /Library/Formula | |
| parent | 662e52496f86e0e401ee467cc3bcd3a9f10c8be6 (diff) | |
| download | homebrew-3b2abab57b3e09f27754063d086235e5a98f2c23.tar.bz2 | |
SoundTouch 1.5.0
SoundTouch is an open-source audio processing library for changing the
Tempo, Pitch and Playback Rates of audio streams or files.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sound-touch.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/sound-touch.rb b/Library/Formula/sound-touch.rb new file mode 100644 index 000000000..27feb8d64 --- /dev/null +++ b/Library/Formula/sound-touch.rb @@ -0,0 +1,22 @@ +require 'formula'
+
+class SoundTouch <Formula
+ url 'http://www.surina.net/soundtouch/soundtouch-1.5.0.tar.gz'
+ homepage 'http://www.surina.net/soundtouch/'
+ md5 '5456481d8707d2a2c27466ea64a099cb'
+
+ def install
+ # SoundTouch has a small amount of inline assembly. The assembly has two labeled
+ # jumps. When compiling with gcc optimizations the inline assembly is duplicated
+ # and the symbol label occurs twice causing the build to fail.
+ ENV.no_optimization
+ # 64bit causes soundstretch to segfault when ever it is run.
+ ENV.m32
+
+ # The build fails complaining about out of date libtools. Rerunning the autoconf prevents the error.
+ system "autoconf"
+
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end
|
