diff options
| author | Philip Weaver | 2010-08-26 10:55:55 -0700 |
|---|---|---|
| committer | David Höppner | 2010-08-29 14:06:52 +0200 |
| commit | 09e157d76be37945ee1ec020ef66dc69cd61374b (patch) | |
| tree | 4d37a16f1e4dce162ea784885b5d09b80a379e92 | |
| parent | 851e1f5924587e5b871a0c10da97b80287cdc2ad (diff) | |
| download | homebrew-09e157d76be37945ee1ec020ef66dc69cd61374b.tar.bz2 | |
ffmpeg: add support for compiling with libvpx
Signed-off-by: David Höppner <0xffea@gmail.com>
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index 1ac3511db..f415272eb 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -14,6 +14,7 @@ class Ffmpeg <Formula depends_on 'theora' => :optional depends_on 'libvorbis' => :optional depends_on 'libogg' => :optional + depends_on 'libvpx' => :optional def install args = ["--disable-debug", @@ -30,6 +31,7 @@ class Ffmpeg <Formula args << "--enable-libmp3lame" if Formula.factory('lame').installed? args << "--enable-libtheora" if Formula.factory('theora').installed? args << "--enable-libvorbis" if Formula.factory('libvorbis').installed? + args << "--enable-libvpx" if Formula.factory('libvpx').installed? # For 32-bit compilation under gcc 4.2, see: # http://trac.macports.org/ticket/20938#comment:22 |
