APlayer: update and fix recipe.

This commit is contained in:
Adrien Destugues
2016-03-28 13:19:17 +02:00
parent 37df5d948f
commit 3a5778a1f3
3 changed files with 11 additions and 315 deletions

View File

@@ -1,17 +1,13 @@
SUMMARY="A player for Amiga modules and other formats"
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"
HOMEPAGE="https://github.com/pulkomandy/APlayer"
COPYRIGHT="1994-2002 Polycode
2011-2012 Adrien Destugues"
2011-2016 Adrien Destugues"
LICENSE="Artistic"
REVISION="2"
SOURCE_URI="svn://pulkomandy.tk/APlayer/trunk"
SOURCE_DIR="trunk"
PATCHES="
aplayer.patch
aplayer_2.patch
"
REVISION="3"
SOURCE_URI="https://github.com/pulkomandy/APlayer/archive/8fdb80db65d3480a0a6b84aa3d27def0da90ac95.tar.gz"
SOURCE_DIR="APlayer-8fdb80db65d3480a0a6b84aa3d27def0da90ac95"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
@@ -24,10 +20,12 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgme$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libgme$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
@@ -48,11 +46,11 @@ INSTALL()
aplayerDir=$appsDir/APlayer
mkdir -p $aplayerDir $aplayerDir/add-ons $aplayerDir/Documentation $aplayerDir/lib
cp APlayer/bin/BeOS_/APlayer $aplayerDir
cp APlayer/bin/BeOS_$targetArchitecture/APlayer $aplayerDir
cp -r Documentation/* $aplayerDir/Documentation
cp -r APlayer/bin/BeOS_/add-ons/* $aplayerDir/add-ons
cp APlayer/bin/BeOS_/lib/APlayerKit.so $aplayerDir/lib
cp PolyKit/bin/BeOS/PolyKit.so $aplayerDir/lib
cp -r APlayer/bin/BeOS_$targetArchitecture/add-ons/* $aplayerDir/add-ons
cp APlayer/bin/BeOS_$targetArchitecture/lib/APlayerKit.so $aplayerDir/lib
cp PolyKit/bin/BeOS/$targetArchitecture/PolyKit.so $aplayerDir/lib
addAppDeskbarSymlink $aplayerDir/APlayer
}