diff --git a/Formula/rubberband.rb b/Formula/rubberband.rb index 1c8cee4b5a..01fbf0a850 100644 --- a/Formula/rubberband.rb +++ b/Formula/rubberband.rb @@ -6,15 +6,17 @@ class Rubberband < Formula stable do url "http://code.breakfastquay.com/attachments/download/34/rubberband-1.8.1.tar.bz2" sha256 "ff0c63b0b5ce41f937a8a3bc560f27918c5fe0b90c6bc1cb70829b86ada82b75" + # replace vecLib.h by Accelerate.h # already fixed in upstream: # https://bitbucket.org/breakfastquay/rubberband/commits/cb02b7ed1500f0c06c0ffd196921c812dbcf6888 # https://bitbucket.org/breakfastquay/rubberband/commits/9e32f693c6122b656a0df63bc77e6a96d6ba213d patch :p1 do - url "https://raw.githubusercontent.com/homebrew/patches/1fd51a983cf7728958659bab95073657b1801b3c/rubberband/rubberband-1.8.1-yosemite.diff" + url "https://raw.githubusercontent.com/homebrew/patches/1fd51a983/rubberband/rubberband-1.8.1-yosemite.diff" sha256 "7686dd9d05fddbcbdf4015071676ac37ecad5c7594cc06470440a18da17c71cd" end end + bottle do cellar :any revision 1 @@ -39,6 +41,7 @@ class Rubberband < Formula end test do - assert_match /Pass 2: Processing.../, shell_output("rubberband -t2 #{test_fixtures("test.wav")} out.wav 2>&1") + output = shell_output("#{bin}/rubberband -t2 #{test_fixtures("test.wav")} out.wav 2>&1") + assert_match "Pass 2: Processing...", output end end