Merged in humdinger/haikuports (pull request #183)

Latest release of youtube-dl + quicklaunch update

Note for later: please work on separate projects in different branches so you can submit separate pull requests.
This commit is contained in:
Adrien Destugues
2014-06-22 10:41:50 +02:00
2 changed files with 52 additions and 2 deletions

View File

@@ -7,10 +7,10 @@ them in a list. You choose an app from that list with the CursorUp/Down keys \
and launch it by hitting Return. Escape quits QuickLaunch.
"
HOMEPAGE="http://sourceforge.net/projects/quicklaunch-h/"
SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code#cc905c63a50c1e007bcd516312f833766afe393e"
SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code#b5ac88efe23cc04c17d566d992703c50c9eb8639"
LICENSE="MIT"
COPYRIGHT="2014 Humdinger"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="

View File

@@ -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="http://youtube-dl.org/downloads/2014.06.19/youtube-dl-2014.06.19.tar.gz"
CHECKSUM_SHA256="877f5a1652693e80d905831bbc10055bd101d6620176b6cb08dd983e465eba94"
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
}