Files
haikuports/media-video/smplayer/smplayer-15.11.0.recipe
Michael Lotz a43c394c4d Explicitly reference all additional files.
Not referencing them caused them to be missing from the source packages.

This also moves all files that were in different dirs under the common
additional-files dir.
2015-12-20 20:05:05 +01:00

62 lines
1.5 KiB
Bash

SUMMARY="Great Qt GUI front-end for mplayer/mpv"
DESCRIPTION="SMPlayer intends to be a complete front-end for MPlayer, from \
basic features like playing videos, DVDs, and VCDs to more advanced features \
like support for MPlayer filters and more."
HOMEPAGE="http://smplayer.sourceforge.net"
LICENSE="GNU GPL v2"
COPYRIGHT="2006-2015 Ricardo Villalba"
SOURCE_URI="http://sourceforge.net/projects/smplayer/files/SMPlayer/$portVersion/smplayer-$portVersion.tar.bz2"
CHECKSUM_SHA256="968901fa2c86c13934c5228a8ae8a74188cdb27e49ecc05546e71eac642f19c1"
REVISION="1"
ARCHITECTURES="x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
smplayer$secondaryArchSuffix = $portVersion
app:SMPlayer
"
REQUIRES="
haiku$secondaryArchSuffix
libqt4$secondaryArchSuffix >= 4.8
lib:libz$secondaryArchSuffix
cmd:mplayer
cmd:smtube$secondaryArchSuffix
"
BUILD_REQUIRES="
libqt4${secondaryArchSuffix}_devel >= 4.8
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:make
"
PATCHES="smplayer_x86-14.9.0.6966.patchset"
ADDITIONAL_FILES="smplayer.rdef"
BUILD()
{
# TODO: fix paths
# DATA_PATH
# DOC_PATH
# TRANSLATION_PATH
# THEMES_PATH
# SHORTCUTS_PATH
echo "SVN-r6966" > svn_revision
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/SMPlayer
cp src/smplayer $appsDir/SMPlayer/SMPlayer
addResourcesToBinaries $portDir/additional-files/smplayer.rdef \
$appsDir/SMPlayer/SMPlayer
addAppDeskbarSymlink $appsDir/SMPlayer/SMPlayer
}