mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
68 lines
1.7 KiB
Bash
68 lines
1.7 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.1/libsidplayfp-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="1bbc43cb7035ac8bf0d0a4ea4c9aa8c6b7ab74bb67ec440e2e4c0a1867b12fcb"
|
|
SOURCE_DIR="libsidplayfp-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libsidplayfp${secondaryArchSuffix} = $portVersion
|
|
lib:libsidplayfp$secondaryArchSuffix = 6.2.18 compat >= 6
|
|
lib:libstilview$secondaryArchSuffix = 0.0.4 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsidplayfp${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libsidplayfp$secondaryArchSuffix = 6.2.18 compat >= 6
|
|
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
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
touch src/psiddrv.bin src/sidtune/sidplayer1.bin src/sidtune/sidplayer2.bin
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install-strip
|
|
|
|
rm $libDir/*.la $libDir/*.a
|
|
|
|
prepareInstalledDevelLibs libsidplayfp libstilview
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|