youtube-dl: add optional rtmpdump dependency

I just wanted to download a video which required rtmpdump. It would have been nice if homebrew had told me about it in advance.

Closes Homebrew/homebrew#26835.

Signed-off-by: Brett Koonce <koonce@gmail.com>
This commit is contained in:
Felix Böhm 2014-02-19 13:16:16 +01:00 committed by Brett Koonce
parent 5122394e3b
commit 0125d06d70

View file

@ -5,6 +5,8 @@ class YoutubeDl < Formula
url 'https://yt-dl.org/downloads/2014.02.19.1/youtube-dl-2014.02.19.1.tar.gz'
sha1 '6d02e9b07ffee6b898349bc2532d0ab9e653f6d4'
depends_on 'rtmpdump' => :optional
def install
system "make", "youtube-dl", "PREFIX=#{prefix}"
bin.install 'youtube-dl'