From 9788412bbc35a34546b090fffd8ff9e06c651288 Mon Sep 17 00:00:00 2001 From: Felix Böhm Date: Wed, 19 Feb 2014 13:16:16 +0100 Subject: 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 #26835. Signed-off-by: Brett Koonce --- Library/Formula/youtube-dl.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/youtube-dl.rb b/Library/Formula/youtube-dl.rb index 00cdad6b7..32bde6ccb 100644 --- a/Library/Formula/youtube-dl.rb +++ b/Library/Formula/youtube-dl.rb @@ -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' -- cgit v1.2.3