mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Latest youtube-dl 2017.04.28
Removed recipes for older versions from 2016.
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
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-2016 Ricardo Garcia Gonzalez"
|
||||
LICENSE="Public Domain"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/rg3/youtube-dl/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7dfe4e7b72509bfe537fe47b418dee4c866236520ae24f0fdc8a2f8f0d9c1ef0"
|
||||
SOURCE_DIR="youtube-dl-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
youtube_dl = $portVersion
|
||||
cmd:youtube_dl = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python
|
||||
cmd:ffmpeg
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
cmd:python
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:zip
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
zip -q youtube-dl youtube_dl/*.py youtube_dl/*/*.py
|
||||
zip -q -j youtube-dl youtube_dl/__main__.py
|
||||
echo '#!/bin/python' > youtube-dl
|
||||
cat youtube-dl.zip >> youtube-dl
|
||||
rm youtube-dl.zip
|
||||
chmod a+x youtube-dl
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp -a youtube-dl $binDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
youtube-dl --version
|
||||
}
|
||||
@@ -6,11 +6,11 @@ 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-2016 Ricardo Garcia Gonzalez"
|
||||
COPYRIGHT="2006-2017 Ricardo Garcia Gonzalez"
|
||||
LICENSE="Public Domain"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/rg3/youtube-dl/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c8c8b58192e34592626611852a8f46c88022a07f2051e0338e2444c6adc57294"
|
||||
CHECKSUM_SHA256="be227d241a5abdf3ad1ba4fd5a14d850e1f1204a609dc5a3703124897565942e"
|
||||
SOURCE_DIR="youtube-dl-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
Reference in New Issue
Block a user