APlayer for SVN

This commit is contained in:
Adrián Arroyo Calle
2013-12-04 00:39:11 +00:00
parent 97c45b11ff
commit 4747767f61
4 changed files with 588 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
SUMMARY="APlayer is a module player and can play a lot of different music file formats, from Amiga and elsewhere."
DESCRIPTION="APlayer is a module player and can play a lot of different music file formats, from Amiga and elsewhere."
HOMEPAGE="http://pulkomandy.tk/projects/APlayer"
SRC_URI="svn://pulkomandy.tk/APlayer/trunk"
REVISION="1"
LICENSE="Artistic"
COPYRIGHT="1994-2002 Polycode 2011-2012 Adrien Destugues"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
aplayer$secondaryArchSuffix = $portVersion
app:aplayer$secondaryArchSuffix = $portVersion
lib:PolyKit = $portVersion
lib:APlayerKit = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:nasm$secondaryArchSuffix
"
SOURCE_DIR="trunk"
PATCHES="
aplayer.patch
aplayer_2.patch
"
BUILD()
{
cd Master
make
cd ..
}
INSTALL()
{
mkdir -p $appsDir
mkdir -p $libDir
mkdir -p $addOnsDir
cp APlayer/bin/BeOS_/APlayer $appsDir/APlayer
cp APlayer/bin/BeOS_/lib/APlayerKit.so $libDir
cp -r APlayer/bin/BeOS_/add-ons/* $addOnsDir
cp PolyKit/bin/BeOS/PolyKit.so $libDir
addAppDeskbarSymlink $appsDir/APlayer
}