Merged in humdinger/haikuports (pull request #142)

Improved recipes
This commit is contained in:
Adrien Destugues
2014-01-15 20:15:49 +01:00
3 changed files with 69 additions and 18 deletions

View File

@@ -7,42 +7,43 @@ 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#c88a50516f3154b86efb4ae58ac8daaa3e45f675"
SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code#0effdf6464be346374d1b9ea7f63f2af0a2cfbca"
LICENSE="MIT"
COPYRIGHT="2013 Humdinger"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
quicklaunch = $portVersion
app:quicklaunch = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
makefile_engine
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
cmd:gcc
cmd:ld
cmd:make
cmd:mkdepend
cmd:unzip
cmd:xres
"
USER_SETTINGS_FILES="settings/QuickLaunch_settings"
BUILD()
{
make OBJ_DIR=objects BUILDHOME=/boot/system/develop
make $jobArgs
}
INSTALL()
{
quicklaunchDir=$appsDir/QuickLaunch
mkdir -p $quicklaunchDir
cp -af objects/QuickLaunch $quicklaunchDir
ARCH=$(echo $buildArchitecture | sed 's/_/-/g')
cp -af objects.$ARCH-release/QuickLaunch $quicklaunchDir
cp -af ReadMe.html $quicklaunchDir
cp -r images $quicklaunchDir

View File

@@ -9,13 +9,13 @@ websites and automatically inserts them into its URL text field.
At this moment there is support for clips from:
YouTube, Google video, MetaCafe, DailyMotion, Yahoo video, Photobucket, \
DepositFiles, Vimeo.com, blip.tv, Facebook video and Escapist magazine.
It may also work on videos from other sites...
For a complete list, check http://rg3.github.io/youtube-dl/supportedsites.html
"
HOMEPAGE="http://sourceforge.net/projects/ubertuber/"
SRC_URI="git://git.code.sf.net/p/ubertuber/code#9d33e8525806a581ed5229b213e81be9ecd29252"
SRC_URI="git://git.code.sf.net/p/ubertuber/code#12bc4486522dab6255f95c5a041674cd8b2cde2c"
LICENSE="MIT"
COPYRIGHT="2013 Humdinger"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
@@ -28,27 +28,27 @@ REQUIRES="
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
USER_SETTINGS_FILES="settings/UberTuber_settings"
BUILD()
{
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
make $jobArgs
}
INSTALL()
{
ARCH=$(echo $buildArchitecture | sed 's/_/-/g')
ubertuberDir=$appsDir/UberTuber
mkdir -p $ubertuberDir
ARCH=$(echo $buildArchitecture | sed 's/_/-/g')
cp -af objects.$ARCH-release/UberTuber $ubertuberDir
cp -af ReadMe.html $ubertuberDir
cp -r images $ubertuberDir

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="https://yt-dl.org/downloads/2014.01.08/youtube-dl-2014.01.08.tar.gz"
CHECKSUM_MD5="bb3e523b7e4e59ac64ce9a48fda86de7"
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
}