diff options
| author | Christoph Sturm | 2009-09-28 01:50:59 +0200 |
|---|---|---|
| committer | Max Howell | 2009-09-30 01:24:31 +0100 |
| commit | ff20e7142aeaa8ab9d28774674b7667802250e11 (patch) | |
| tree | 1917b2004456f1da548d437d37e304c5d06557b4 /Library/Formula/ffmpeg.rb | |
| parent | 82475f9e5b76405b5f093bd91b2dea5650f785d0 (diff) | |
| download | homebrew-ff20e7142aeaa8ab9d28774674b7667802250e11.tar.bz2 | |
Enable x264 features in ffmpeg
Add dependency on x264 package.
Only build 64 bit on SL, this probably fixes the build on leopard.
Diffstat (limited to 'Library/Formula/ffmpeg.rb')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index f694a81a5..c63a3923b 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -3,12 +3,16 @@ require 'brewkit' class Ffmpeg <Formula @head='svn://svn.ffmpeg.org/ffmpeg/trunk' @homepage='http://ffmpeg.org/' + depends_on 'x264' def install - system "./configure", "--prefix=#{prefix}", + configure_flags = [ "--prefix=#{prefix}", "--disable-debug", - "--enable-nonfree", - "arch=x86_64" + "--enable-nonfree", + "--enable-gpl", + "--enable-libx264"] + configure_flags << "--arch=x64_64" if Hardware.is_64_bit? and MACOS_VERSION >= 10.6 + system "./configure", *configure_flags system "make install" end end |
