From 75ab1b9e5216f26ace6e85b3ecdefd3657faf0b6 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Sun, 26 Jan 2014 15:15:23 +0100 Subject: [PATCH 1/2] Updated youtube_dl version to 2014.01.23 --- .../youtube_dl/youtube_dl-2014.01.23.recipe | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 net-misc/youtube_dl/youtube_dl-2014.01.23.recipe diff --git a/net-misc/youtube_dl/youtube_dl-2014.01.23.recipe b/net-misc/youtube_dl/youtube_dl-2014.01.23.recipe new file mode 100644 index 000000000..4eff35af6 --- /dev/null +++ b/net-misc/youtube_dl/youtube_dl-2014.01.23.recipe @@ -0,0 +1,50 @@ +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/index.html" +SRC_URI="https://yt-dl.org/downloads/2014.01.23.4/youtube-dl-2014.01.23.4.tar.gz" +CHECKSUM_MD5="d9e89ffc9ff572317151e22cac4b3a00" +REVISION="1" +LICENSE="Public Domain" +COPYRIGHT="2006-2014 Ricardo Garcia Gonzalez" + +ARCHITECTURES="any" + +PROVIDES=" + youtube_dl = $portVersion + cmd:youtube_dl = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + cmd:python + " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" + cmd:zip + " + +SOURCE_DIR="youtube-dl" + +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 +} From db7dc72f058c125cbb5f30c6d1f11259977297b8 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Sun, 9 Feb 2014 09:36:36 +0100 Subject: [PATCH 2/2] Updated youtube-dl to newest version. --- .../youtube_dl/youtube_dl-2014.02.08.recipe | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 net-misc/youtube_dl/youtube_dl-2014.02.08.recipe diff --git a/net-misc/youtube_dl/youtube_dl-2014.02.08.recipe b/net-misc/youtube_dl/youtube_dl-2014.02.08.recipe new file mode 100644 index 000000000..ffa310056 --- /dev/null +++ b/net-misc/youtube_dl/youtube_dl-2014.02.08.recipe @@ -0,0 +1,50 @@ +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/index.html" +SRC_URI="https://yt-dl.org/downloads/2014.02.08.2/youtube-dl-2014.02.08.2.tar.gz" +CHECKSUM_MD5="f596733308b25eb650c244cbc9428e19" +REVISION="1" +LICENSE="Public Domain" +COPYRIGHT="2006-2014 Ricardo Garcia Gonzalez" + +ARCHITECTURES="any" + +PROVIDES=" + youtube_dl = $portVersion + cmd:youtube_dl = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + cmd:python + " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" + cmd:zip + " + +SOURCE_DIR="youtube-dl" + +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 +}