Updated youtube-dl, quicklaunch, ubertuber

This commit is contained in:
Humdinger
2015-06-15 17:06:29 +02:00
parent 74e89b3499
commit b253660a9b
3 changed files with 173 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
SUMMARY="A tool to quickly start any installed application"
DESCRIPTION="QuickLaunch is a small launcher tool that helps you to quickly \
start any installed application (as long as it has an app-signature). Simply \
start to enter the name of an application and QuickLaunch will find all \
programs matching these initial letters and show them in a list.
You choose an app from that list with the CursorUp/Down keys and launch it \
by hitting RETURN. ESC quits QuickLaunch.
It's recommended to set a key combo to start QuickLaunch with Haiku's \
Shortcuts preferences."
HOMEPAGE="http://sourceforge.net/projects/quicklaunch-h/"
SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code#b7332495742177b6a24e7954367ef19e2eea5e79"
LICENSE="MIT"
COPYRIGHT="2014 Humdinger"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
quicklaunch = $portVersion
app:QuickLaunch = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
USER_SETTINGS_FILES="settings/QuickLaunch_settings"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
quicklaunchDir=$appsDir/QuickLaunch
mkdir -p $quicklaunchDir
cp -af objects/QuickLaunch $quicklaunchDir
cp -af ReadMe.html $quicklaunchDir
cp -r images $quicklaunchDir
chmod +x Add\ to\ Deskbar.sh
cp -af Add\ to\ Deskbar.sh $quicklaunchDir
addAppDeskbarSymlink $quicklaunchDir/QuickLaunch
}

View File

@@ -0,0 +1,64 @@
SUMMARY="A tool to play back online videos in MediaPlayer"
DESCRIPTION="UberTuber grabs clips from various sites and opens them in your \
media player while they're being downloaded. The Python script youtube-dl \
downloads the video file to the temporary folder. From there it is either \
played back while it gets downloaded or moved to another location determined \
in a file dialog.
UberTuber monitors the system clipboard for URLs pointing to the supported \
websites and automatically inserts them into its URL text field.
If the playback of a clip from a particular website works, depends on the \
underlying youtube-dl script, which gets updated from time to time. At this \
moment there is support for clips from:
YouTube, Google video, MetaCafe, DailyMotion, Yahoo video, Photobucket, \
DepositFiles, Vimeo.com, blip.tv, Facebook video, Escapist magazine and many \
more
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#ed00f7c8124657e1413f1f3b81eb4a2a63ca4de2"
LICENSE="MIT"
COPYRIGHT="2011-2015 Humdinger"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
ubertuber = $portVersion
app:UberTuber = $portVersion
"
REQUIRES="
haiku
cmd:youtube_dl
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
USER_SETTINGS_FILES="
settings/UberTuber_settings
settings/UberTuber_monitored_sites
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
ubertuberDir=$appsDir/UberTuber
mkdir -p $ubertuberDir
cp -af objects/UberTuber $ubertuberDir
cp -af ReadMe.html $ubertuberDir
cp -r images $ubertuberDir
addAppDeskbarSymlink $ubertuberDir/UberTuber
}

View File

@@ -0,0 +1,55 @@
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/"
SRC_URI="http://youtube-dl.org/downloads/$portVersion/youtube-dl-$portVersion.tar.gz"
CHECKSUM_SHA256="5a30bb0e62bbdf7797b61d29678e672d67dddc0d3fa502d133d3017061b67c9a"
SOURCE_DIR="youtube-dl"
REVISION="1"
LICENSE="Public Domain"
COPYRIGHT="2006-2015 Ricardo Garcia Gonzalez"
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
}