mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
net-misc/youtube_dl: version bump. (#2181)
This commit is contained in:
45
net-misc/youtube_dl/youtube_dl-2018.02.04.recipe
Normal file
45
net-misc/youtube_dl/youtube_dl-2018.02.04.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user