aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorFelix Böhm2014-02-19 13:16:16 +0100
committerBrett Koonce2014-02-19 22:22:48 -0600
commit9788412bbc35a34546b090fffd8ff9e06c651288 (patch)
tree343a69145a8d90f32a430658065491bbe2954b23 /Library
parent5359f222b2b27339c2bdb1c18289860622713af9 (diff)
downloadhomebrew-9788412bbc35a34546b090fffd8ff9e06c651288.tar.bz2
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 <koonce@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/youtube-dl.rb2
1 files changed, 2 insertions, 0 deletions
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'