diff options
| author | Fernando IrĂas Escher | 2012-12-12 16:06:01 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-01 19:42:05 -0800 |
| commit | 1344f814d3333470b7f4aee954e2623aab155dff (patch) | |
| tree | 39cbfcc8b37838f3b26b10d097ec62786b2f3e87 /Library | |
| parent | 3c59ccab5baa7d493b384fac18d03e139215b6e1 (diff) | |
| download | homebrew-1344f814d3333470b7f4aee954e2623aab155dff.tar.bz2 | |
fmmpeg: add support for fdk-aac, openssl, opus
Adds 3 new flags, none of which change the default installation behavior.
* --enable-libfdk-aac
* --enable-openssl (system openssl is sufficient)
* --enable-libopus
Closes #16539.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index e9d61b6f5..15bba75f3 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -24,6 +24,9 @@ class Ffmpeg < Formula option 'with-schroedinger', 'Enable Dirac video format' option 'with-ffplay', 'Enable FFPlay media player' option 'with-tools', 'Enable additional FFmpeg tools' + option 'with-fdk-aac', 'Enable the Fraunhofer FDK AAC library' + option 'with-openssl', 'Enable OpenSSL encryption library' + option 'with-opus', 'Enable the Opus Codec library' depends_on 'pkg-config' => :build @@ -48,6 +51,8 @@ class Ffmpeg < Formula depends_on 'sdl' if build.include? 'with-ffplay' depends_on 'speex' if build.include? 'with-speex' depends_on 'schroedinger' if build.include? 'with-schroedinger' + depends_on 'fdk-aac' if build.include? 'with-fdk-aac' + depends_on 'opus' if build.include? 'with-opus' def install args = ["--prefix=#{prefix}", @@ -77,6 +82,9 @@ class Ffmpeg < Formula args << "--enable-ffplay" if build.include? 'with-ffplay' args << "--enable-libspeex" if build.include? 'with-speex' args << '--enable-libschroedinger' if build.include? 'with-schroedinger' + args << "--enable-libfdk-aac" if build.include? 'with-fdk-aac' + args << "--enable-openssl" if build.include? 'with-openssl' + args << "--enable-libopus" if build.include? 'with-opus' if build.include? 'with-openjpeg' args << '--enable-libopenjpeg' |
