Merged in humdinger/haikuports (pull request #71)

New recipe for newest UberTuber 0.9.8.
This commit is contained in:
Scott McCreary
2013-12-21 04:03:12 -08:00

View File

@@ -0,0 +1,63 @@
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.
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/"
SRC_URI="git://git.code.sf.net/p/ubertuber/code#9d33e8525806a581ed5229b213e81be9ecd29252"
LICENSE="MIT"
COPYRIGHT="2013 Humdinger"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
ubertuber = $portVersion
app:ubertuber = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
cmd:youtube_dl
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
USER_SETTINGS_FILES="settings/UberTuber_settings"
BUILD()
{
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
ARCH=$(echo $buildArchitecture | sed 's/_/-/g')
ubertuberDir=$appsDir/UberTuber
mkdir -p $ubertuberDir
cp -af objects.$ARCH-release/UberTuber $ubertuberDir
cp -af ReadMe.html $ubertuberDir
cp -r images $ubertuberDir
addAppDeskbarSymlink $ubertuberDir/UberTuber
}