diff options
| author | Charlie Sharpsteen | 2011-09-23 18:05:58 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-23 18:56:44 -0700 |
| commit | 380aa8fde32e1fa9f4f0e7e92c19b67813cd6894 (patch) | |
| tree | 5902ca5c4b0d9694140f20c2fc2b0ebcac559b75 /Library/Formula/ffmpeg.rb | |
| parent | ba2b6f3f11f45629d4c85c36cf4b589fe9d394c3 (diff) | |
| download | homebrew-380aa8fde32e1fa9f4f0e7e92c19b67813cd6894.tar.bz2 | |
FFmpeg: Update to 0.8.4
Also, flag as `fails_with_llvm`.
Closes #7715.
Diffstat (limited to 'Library/Formula/ffmpeg.rb')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index eb1b843ec..8464fc0e0 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -1,12 +1,14 @@ require 'formula' class Ffmpeg < Formula - url 'http://ffmpeg.org/releases/ffmpeg-0.8.2.tar.bz2' + url 'http://ffmpeg.org/releases/ffmpeg-0.8.4.tar.bz2' homepage 'http://ffmpeg.org/' - sha1 '984f731aced1380840cd8e3576e8db0c2fd5537f' + sha1 '70fc95f2711defe4953862bd42a5a228cee803b8' head 'git://git.videolan.org/ffmpeg.git' + fails_with_llvm 'Dies during compilation of motionpixels_tablegen' + depends_on 'yasm' => :build depends_on 'x264' => :optional depends_on 'faac' => :optional @@ -29,7 +31,8 @@ class Ffmpeg < Formula "--enable-gpl", "--enable-version3", "--enable-nonfree", - "--enable-hardcoded-tables"] + "--enable-hardcoded-tables", + "--cc=#{ENV.cc}"] args << "--enable-libx264" if Formula.factory('x264').installed? args << "--enable-libfaac" if Formula.factory('faac').installed? @@ -39,18 +42,6 @@ class Ffmpeg < Formula args << "--enable-libvpx" if Formula.factory('libvpx').installed? args << "--enable-libxvid" if Formula.factory('xvid').installed? - # Force use of clang on Lion - # See: https://avcodec.org/trac/ffmpeg/ticket/353 - if MacOS.lion? - args << "--cc=clang" - else - args << case ENV.compiler - when :clang then "--cc=clang" - when :llvm then "--cc=llvm-gcc" - when :gcc then "--cc=gcc" - end - end - # For 32-bit compilation under gcc 4.2, see: # http://trac.macports.org/ticket/20938#comment:22 if MacOS.snow_leopard? and Hardware.is_32_bit? |
