net-misc/youtube_dl: version bump. (#2181)

This commit is contained in:
netpositive36
2018-02-04 12:25:58 +01:00
committed by fbrosson
parent 789c12a158
commit e7ae3917ff

View File

@@ -0,0 +1,45 @@
SUMMARY="A command-line program to download videos from various sites"
DESCRIPTION="The program is usually invoked as youtube-dl followed by \
options and the video URL. Run 'youtube-dl --help' and get a summary \
of all options.
Some YouTube videos are served using Adobe's proprietary RTMP protocol, which \
imposes DRM restrictions and encrypts the connection. youtube-dl is not able \
to download these videos by itself."
HOMEPAGE="http://rg3.github.io/youtube-dl/"
COPYRIGHT="2006-2018 Ricardo Garcia Gonzalez"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="https://github.com/rg3/youtube-dl/releases/download/$portVersion/youtube-dl#noarchive"
CHECKSUM_SHA256="157be71476a97dae99a18df5452472e1786f39b3fe2f968dfa0f81c144d81734"
SOURCE_FILENAME="youtube-dl-$portVersion.py"
ARCHITECTURES="any"
PROVIDES="
youtube_dl = $portVersion
cmd:youtube_dl = $portVersion
"
REQUIRES="
haiku
cmd:python
cmd:ffmpeg
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
"
BUILD()
{
sed -i 's/\/usr//' youtube-dl-$portVersion.py
mv youtube-dl-$portVersion.py youtube-dl
chmod a+x youtube-dl
}
INSTALL()
{
mkdir -p $binDir
cp -a youtube-dl $binDir
}