diff options
Diffstat (limited to 'Library/Formula')
| -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' |
