From 1344f814d3333470b7f4aee954e2623aab155dff Mon Sep 17 00:00:00 2001 From: Fernando IrĂ­as Escher Date: Wed, 12 Dec 2012 16:06:01 -0500 Subject: 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 --- Library/Formula/ffmpeg.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') 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' -- cgit v1.2.3