0
0
Fork 0
haikuports/haiku-apps/ubertuber/ubertuber-0.9.13.recipe

68 lines
1.8 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 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://humdingerb.github.io/ubertuber/"
COPYRIGHT="2011-2015 Humdinger"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/humdingerb/ubertuber/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="0800db199cd043a5f7add2975248a9159195bdd505ccc53216925f045cdf715d"
ARCHITECTURES="all"
USER_SETTINGS_FILES="
settings/UberTuber_settings
settings/UberTuber_monitored_sites
"
PROVIDES="
ubertuber = $portVersion
app:UberTuber = $portVersion
"
REQUIRES="
haiku
cmd:youtube_dl
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
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
}