ffmpeg: add rtmp support

Closes Homebrew/homebrew#9399.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jakob Schlyter 2012-01-03 21:28:05 +01:00 committed by Jack Nagel
parent ac7fc7dc2f
commit 0694ba9937

View file

@ -24,6 +24,7 @@ class Ffmpeg < Formula
depends_on 'x264' => :optional
depends_on 'faac' => :optional
depends_on 'lame' => :optional
depends_on 'rtmpdump' => :optional
depends_on 'theora' => :optional
depends_on 'libvorbis' => :optional
depends_on 'libogg' => :optional
@ -46,6 +47,7 @@ class Ffmpeg < Formula
args << "--enable-libx264" if Formula.factory('x264').installed?
args << "--enable-libfaac" if Formula.factory('faac').installed?
args << "--enable-libmp3lame" if Formula.factory('lame').installed?
args << "--enable-librtmp" if Formula.factory('rtmpdump').installed?
args << "--enable-libtheora" if Formula.factory('theora').installed?
args << "--enable-libvorbis" if Formula.factory('libvorbis').installed?
args << "--enable-libvpx" if Formula.factory('libvpx').installed?