svtplay-dl 0.8.2012.12.30

Closes Homebrew/homebrew#16809.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Patrik Ragnarsson 2012-12-31 04:16:16 +01:00 committed by Adam Vandenberg
parent 936bf5cadd
commit e9a087221e
1 changed files with 20 additions and 0 deletions

20
Formula/svtplay-dl.rb Normal file
View File

@ -0,0 +1,20 @@
require 'formula'
class SvtplayDl < Formula
homepage 'https://github.com/spaam/svtplay-dl'
url 'https://github.com/spaam/svtplay-dl/archive/0.8.2012.12.30.tar.gz'
sha1 '0ce48fe7a43419243e1bd20c7c65d1cece00b478'
depends_on 'rtmpdump'
def install
bin.install 'svtplay_dl.py' => "svtplay-dl"
end
def caveats; <<-EOS.undent
You need PyCrypto (https://www.dlitz.net/software/pycrypto/) to
download encrypted HLS streams.
You need PyAMF (http://www.pyamf.org/) for kanal5play.se.
EOS
end
end