mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
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
|
|
}
|