From 0694ba9937ae03cacbb17431b33d2c21258dc113 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Tue, 3 Jan 2012 21:28:05 +0100 Subject: [PATCH] ffmpeg: add rtmp support Closes Homebrew/homebrew#9399. Signed-off-by: Jack Nagel --- Formula/ffmpeg.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/ffmpeg.rb b/Formula/ffmpeg.rb index 9a87196940..d0c7006939 100644 --- a/Formula/ffmpeg.rb +++ b/Formula/ffmpeg.rb @@ -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?