Updated youtube-dl, removed old recipes

This commit is contained in:
Humdinger
2016-08-12 09:36:32 +02:00
parent 289af6042f
commit 029adff75f
4 changed files with 1 additions and 168 deletions

View File

@@ -1,56 +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-2015 Ricardo Garcia Gonzalez"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="http://youtube-dl.org/downloads/$portVersion/youtube-dl-$portVersion.tar.gz"
CHECKSUM_SHA256="a14eb80e37c452d537f0f5b0d826c57f099776a4a38016533fa6b5c66daeec46"
SOURCE_DIR="youtube-dl"
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 $manDir/man1
cp -a youtube-dl $binDir
cp -a youtube-dl.1 $manDir/man1
}
TEST()
{
youtube-dl --version
}

View File

@@ -1,56 +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-2015 Ricardo Garcia Gonzalez"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="http://youtube-dl.org/downloads/$portVersion/youtube-dl-$portVersion.tar.gz"
CHECKSUM_SHA256="5a30bb0e62bbdf7797b61d29678e672d67dddc0d3fa502d133d3017061b67c9a"
SOURCE_DIR="youtube-dl"
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 $manDir/man1
cp -a youtube-dl $binDir
cp -a youtube-dl.1 $manDir/man1
}
TEST()
{
youtube-dl --version
}

View File

@@ -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="2"
SOURCE_URI="https://github.com/rg3/youtube-dl/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="b8df1942e5b71ffdd4f53bc8f3866cc3b290c6de72f06d8653017ac6497070d1"
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
}

View File

@@ -10,7 +10,7 @@ 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="7868dcf31957acdbf71fa653ff488673a24b0dd9168513e1c82daa7e079eac8c"
CHECKSUM_SHA256="7dfe4e7b72509bfe537fe47b418dee4c866236520ae24f0fdc8a2f8f0d9c1ef0"
SOURCE_DIR="youtube-dl-$portVersion"
ARCHITECTURES="any"