diff options
| author | Misty De Meo | 2012-03-12 10:40:41 -0500 | 
|---|---|---|
| committer | Misty De Meo | 2012-03-12 10:49:14 -0500 | 
| commit | fedb26e968c762c5276ed45b0b4ac9a61fa15b8b (patch) | |
| tree | 47206ff69bc33561c20e070357dce396a5559648 /Library/Formula/sox.rb | |
| parent | 14cca1659301cacd002cae3375fac15473bb0bf8 (diff) | |
| download | homebrew-fedb26e968c762c5276ed45b0b4ac9a61fa15b8b.tar.bz2 | |
sox 14.4.0
The ffmpeg patch from the previous version is no longer necessary.
Diffstat (limited to 'Library/Formula/sox.rb')
| -rw-r--r-- | Library/Formula/sox.rb | 29 | 
1 files changed, 2 insertions, 27 deletions
diff --git a/Library/Formula/sox.rb b/Library/Formula/sox.rb index 49597caf4..15a982d78 100644 --- a/Library/Formula/sox.rb +++ b/Library/Formula/sox.rb @@ -1,9 +1,9 @@  require 'formula'  class Sox < Formula -  url 'http://downloads.sourceforge.net/project/sox/sox/14.3.2/sox-14.3.2.tar.gz'    homepage 'http://sox.sourceforge.net/' -  md5 'e9d35cf3b0f8878596e0b7c49f9e8302' +  url 'http://downloads.sourceforge.net/project/sox/sox/14.4.0/sox-14.4.0.tar.gz' +  md5 'b0c15cff7a4ba0ec17fdc74e6a1f9cf1'    depends_on 'pkg-config' => :build    depends_on 'libvorbis' => :optional @@ -12,13 +12,6 @@ class Sox < Formula    depends_on 'libao' => :optional    depends_on 'mad' -  def patches -    # sox does not build against libav >= 0.7.0 -    # http://sox.git.sourceforge.net/git/gitweb.cgi?p=sox/sox;a=commitdiff;h=c81a45e9b54fdb8c1835aeb575e748ec6d7c921d -    # Can be removed in the next release -    DATA -  end -    def install      ENV.x11  # For libpng, used for the optional "spectrogram" effect.      system "./configure", "--disable-debug", "--disable-dependency-tracking", @@ -27,21 +20,3 @@ class Sox < Formula      system "make install"    end  end - -__END__ ---- a/src/ffmpeg.c -+++ b/src/ffmpeg.c -@@ -50,6 +50,13 @@ - #include <ctype.h> - #include "ffmpeg.h" -  -+#ifndef CODEC_TYPE_AUDIO -+#define CODEC_TYPE_AUDIO AVMEDIA_TYPE_AUDIO -+#endif -+#ifndef PKT_FLAG_KEY -+#define PKT_FLAG_KEY AV_PKT_FLAG_KEY -+#endif -+ - /* Private data for ffmpeg files */ - typedef struct { -   int audio_index;  | 
