mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
66 lines
1.6 KiB
Bash
66 lines
1.6 KiB
Bash
SUMMARY="Library to play Commodore 64 music"
|
|
DESCRIPTION="Libsidplayfp is a fork of sidplay2 born with the aim to improve \
|
|
the quality of emulating the 6581, 8580 chips and the surrounding C64 system \
|
|
in order to play SID music better."
|
|
HOMEPAGE="https://sourceforge.net/projects/sidplay-residfp"
|
|
COPYRIGHT="2000-2001 Simon White
|
|
2007-2010 Antti Lankila
|
|
2010-2019 Leandro Nini"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sourceforge.net/projects/sidplay-residfp/files/libsidplayfp/2.0/libsidplayfp-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7655218ce256694a3b14eeba939d4f2b61bbe0d6a94ebe4ad185b85b13b6989b"
|
|
SOURCE_DIR="libsidplayfp-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libsidplayfp${secondaryArchSuffix} = $portVersion
|
|
lib:libsidplayfp$secondaryArchSuffix = 5.2.11 compat >= 5
|
|
lib:libstilview$secondaryArchSuffix = 0.0.4 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsidplayfp${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libsidplayfp$secondaryArchSuffix = 5.2.11 compat >= 5
|
|
devel:libstilview$secondaryArchSuffix = 0.0.4 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libsidplayfp$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install-strip
|
|
|
|
rm $libDir/*.la
|
|
|
|
prepareInstalledDevelLibs libsidplayfp libstilview
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|