Files
haikuports/haiku-apps/ubertuber/ubertuber-0.9.7.recipe
2016-02-26 10:33:51 -05:00

61 lines
1.6 KiB
Bash

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 eitherplayed 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.
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..."
HOMEPAGE="http://sourceforge.net/projects/ubertuber/"
COPYRIGHT="2013 Humdinger"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="git://git.code.sf.net/p/ubertuber/code#7971df0e58a145d7357261600442116321257065"
PATCHES="ubertuber-0.9.7.patchset"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
ubertuber = $portVersion
app:ubertuber = $portVersion
"
REQUIRES="
haiku
cmd:python
"
BUILD_REQUIRES="
haiku_devel
makefile_engine
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:make
cmd:unzip
cmd:xres
"
BUILD()
{
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
ubertuberDir=$appsDir/UberTuber
mkdir -p $ubertuberDir
cp -af objects/UberTuber $ubertuberDir
cp -af youtube-dl $ubertuberDir
cp -af ReadMe.html $ubertuberDir
cp -r images $ubertuberDir
addAppDeskbarSymlink $ubertuberDir/UberTuber
}