mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Merge pull request #519 from fbrosson/smtube
smtube: bump to version 16.3.0.
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
SUMMARY="YouTube browser for SMPlayer"
|
||||
DESCRIPTION="SMTube is an application that allows to browse, search and play \
|
||||
YouTube videos. Videos are played back with a media player (by default \
|
||||
SMPlayer) instead of a flash player, this allows better performance, \
|
||||
particularly with HD content."
|
||||
HOMEPAGE="http://smtube.sourceforge.net"
|
||||
COPYRIGHT="2006-2015 Ricardo Villalba"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://sourceforge.net/projects/smplayer/files/SMTube/15.5/smtube-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="7f31a0e32b75c027851366cb92fa537cb7257f299a916e6191d5596d2058c2c5"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
smtube$secondaryArchSuffix = $portVersion
|
||||
cmd:smtube$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
libqt4$secondaryArchSuffix >= 4.8
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
libqt4${secondaryArchSuffix}_devel >= 4.8
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/SMPlayer
|
||||
cp src/smtube $appsDir/SMPlayer
|
||||
}
|
||||
62
media-video/smtube/smtube-16.3.0.recipe
Normal file
62
media-video/smtube/smtube-16.3.0.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="YouTube browser for SMPlayer"
|
||||
DESCRIPTION="SMTube is an application that allows to browse, search and play \
|
||||
YouTube videos. Videos are played back with a media player (by default \
|
||||
SMPlayer) instead of a flash player, this allows better performance, \
|
||||
particularly with HD content."
|
||||
HOMEPAGE="http://www.smtube.org/"
|
||||
COPYRIGHT="2006-2016 Ricardo Villalba"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sf.net/smplayer/smtube-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="6ac038645eb03f7d8069713312c99f5ff7d8d0d6b4550b206b87ac6e1a941570"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
smtube$secondaryArchSuffix = $portVersion
|
||||
app:SMTube$commandSuffix = $portVersion
|
||||
cmd:smtube$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
libqt4$secondaryArchSuffix >= 4.8
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
libqt4${secondaryArchSuffix}_devel >= 4.8
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
smtubeDir=$appsDir/SMPlayer
|
||||
mkdir -p $smtubeDir
|
||||
cp src/smtube $smtubeDir/smtube$commandSuffix
|
||||
mkdir -p $commandBinDir
|
||||
if [ -n "$commandSuffix" ]; then
|
||||
mkdir -p $prefix/bin
|
||||
symlinkRelative -s $smtubeDir/smtube$commandSuffix $prefix/bin
|
||||
fi
|
||||
symlinkRelative -s $smtubeDir/smtube$commandSuffix $commandBinDir/smtube
|
||||
addAppDeskbarSymlink $smtubeDir/smtube$commandSuffix SMTube$commandSuffix
|
||||
}
|
||||
Reference in New Issue
Block a user