diff --git a/app-emulation/bluemsx_libretro/additional-files/bluemsx_libretro.info.in b/app-emulation/bluemsx_libretro/additional-files/bluemsx_libretro.info.in new file mode 100644 index 000000000..04e543ddd --- /dev/null +++ b/app-emulation/bluemsx_libretro/additional-files/bluemsx_libretro.info.in @@ -0,0 +1,13 @@ +display_name = "MSX/SVI/ColecoVision/SG-1000 (blueMSX)" +authors = "Daniel Vik" +supported_extensions = "rom|ri|mx1|mx2|col|dsk|cas|sg|sc|m3u" +corename = "blueMSX" +manufacturer = "Various" +categories = "Emulator" +systemname = "MSX/SVI/ColecoVision/SG-1000" +database = "Microsoft - MSX|Microsoft - MSX2|Coleco - ColecoVision|Sega - SG-1000" +license = "GPLv2" +permissions = "" +display_version = "@DISPLAY_VERSION@" +supports_no_game = "false" +notes = "(!) The libretro port of blueMSX requires the BIOS files|from full standalone package inside the 'System\Machines' directory |and media database files into 'System\Databases' directory.|(!) ColecoVision Gamepad Mapping is as follow:|Button 1 as Retropad A|Button 2 as Retropad B|Dial keys 1 to 8 as X, Y, R, L, R2, L2, R3, L3|Star as Select, Hash as Start|0 & 9 are on keyboard 1 & 2 for Player 1|0 & 9 are on keyboard 3 & 4 for Player 2.|(!) To play SpectraVideo cassettes type 'cload' then 'run'|or BLOAD ''CAS:'',R depending of game." diff --git a/app-emulation/bluemsx_libretro/bluemsx_libretro-2.9.0_20180219.recipe b/app-emulation/bluemsx_libretro/bluemsx_libretro-2.9.0_20180219.recipe new file mode 100644 index 000000000..00c024a7f --- /dev/null +++ b/app-emulation/bluemsx_libretro/bluemsx_libretro-2.9.0_20180219.recipe @@ -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 +}