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:
parent
5122394e3b
commit
0125d06d70
1 changed files with 2 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue