diff options
| author | Jack Nagel | 2012-03-18 15:33:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-01 12:39:59 -0500 |
| commit | 497b13ac9e088ef2bb9539f0a25ba944c87c6f26 (patch) | |
| tree | f105351651a7f7bd91099320479c7ed9fdaf50ba /Library/Formula/ffmpeg.rb | |
| parent | b36f59dd3c8a3bf95eeb715e3fdd05bce2ccdc75 (diff) | |
| download | homebrew-497b13ac9e088ef2bb9539f0a25ba944c87c6f26.tar.bz2 | |
Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/ffmpeg.rb')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index 2915341ee..1cdb2f591 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -11,15 +11,6 @@ class Ffmpeg < Formula head 'git://git.videolan.org/ffmpeg.git' - fails_with_llvm 'Undefined symbols when linking libavfilter' - - def options - [ - ["--with-tools", "Install additional FFmpeg tools."], - ["--with-ffplay", "Build ffplay."] - ] - end - depends_on 'yasm' => :build depends_on 'x264' => :optional depends_on 'faac' => :optional @@ -35,6 +26,17 @@ class Ffmpeg < Formula depends_on 'sdl' if ffplay? + fails_with :llvm do + cause 'Undefined symbols when linking libavfilter' + end + + def options + [ + ["--with-tools", "Install additional FFmpeg tools."], + ["--with-ffplay", "Build ffplay."] + ] + end + def install ENV.x11 args = ["--prefix=#{prefix}", |
