mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
bluemsx_libretro: MSX/Coleco/SG-1000 emulator core (#2287)
for the libretro API
This commit is contained in:
committed by
fbrosson
parent
8d187ac78b
commit
0c50cf7b1d
@@ -0,0 +1,52 @@
|
||||
SUMMARY="MSX/Coleco/SG-1000 emulator core for the libretro API"
|
||||
DESCRIPTION="This is a libretro port of BlueMSX, originally an emulator of \
|
||||
MSX/MSX2 computers. BlueMSX is now able to also emulate the Colecovision and \
|
||||
the Sega SG-1000 systems."
|
||||
HOMEPAGE="http://bluemsx.msxblue.com/"
|
||||
COPYRIGHT="2003-2018 Daniel Vik, the libretro team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="997643b92b3fc5947b7678841a1cd60375e6f78d"
|
||||
SOURCE_URI="https://github.com/libretro/blueMSX-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="187bcc77c2f99dbef6b88a0f41d9c45926f39339daa34f511c535b9da0f9f6ab"
|
||||
SOURCE_FILENAME="libretro-bluemsx-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="blueMSX-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="bluemsx_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
bluemsx_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:bluemsx_libretro$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
retroarch$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
||||
$portDir/additional-files/bluemsx_libretro.info.in \
|
||||
> bluemsx_libretro.info
|
||||
make -f Makefile.libretro $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" README.md changes.txt
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
bluemsx_libretro.info \
|
||||
bluemsx_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user