0
0
Fork 0
haikuports/games-emulation/genesis_plus_gx_libretro/genesis_plus_gx_libretro-1....

58 lines
1.7 KiB
Bash
Raw Permalink Normal View History

SUMMARY="A port of Genesis Plus GX, a Sega 8/16bit emulator to the libretro API"
DESCRIPTION="Genesis Plus GX is a Sega Genesis, Mega-CD, Game Gear, SG-1000 \
and Master System (Mark-III) emulator. Its main focuses are accuracy and \
performance. It is based off the original Genesis Plus by Charles McDonald."
HOMEPAGE="https://github.com/ekeeke/Genesis-Plus-GX"
COPYRIGHT="1998-2020 Charles McDonald, Eke-eke, the libretro team"
LICENSE="GenesisPlusGX
GNU LGPL v2.1
LIBCHDR
LibPNG
Xiph
Zlib"
libretro cores : bump to latest git revisions (#5299) * atari800_libretro: bumped to version 3.1.0:20200921 * bluemsx_libretro: bumped to version 2.9.0:20200920 * cap32_libretro: bumped to version 4.2.0:20200923 * fmsx_libretro: bumped to version 4.9:20200920 * mrboom_libretro: bumped to version 4.9:20200923 * fbneo_libretro: bumped to version 0.2.97.44:20200925 * fceumm_libretro: bumped to version 0.0.1:20200909 * flycast_libretro: bumped to version 0.1:20200923 * freeintv_libretro: bumped to version 0.0:20200721 * gambatte_libretro: bumped to version 0.5.0:20200922 * genesis_plus_gx_libretro: bumped to version 1.7.4:20200717 * gpsp_libretro: bumped to version 0.91:20200921 * handy_libretro: bumped to version 0.95:20200913 * mednafen_gba_libretro: bumped to version 0.9.36:20200818 * mednafen_lynx_libretro: bumped to version 0.9.32:20200919 * mednafen_ngp_libretro: bumped to version 0.9.36.1:20200924 * mednafen_pce_fast_libretro: bumped to version 0.9.38.7:20200924 * mednafen_pce_libretro: bumped to version 0.9.38.7:20200924 * mednafen_pcfx_libretro: bumped to version 0.9.33.3:20200922 * mednafen_psx_hw_libretro: bumped to version 0.9.38.6:20200924 * mednafen_psx_libretro: bumped to version 0.9.39.2:20200924 * mednafen_saturn_libretro: bumped to version 0.9.45.1:20200924 * mednafen_supergrafx_libretro: bumped to version 0.9.38.7:20200925 * mednafen_vb_libretro: bumped to version 0.9.36.1:20200924 * mednafen_wswan_libretro: bumped to version 0.9.35.1:20200924 * mgba_libretro: bumped to version 0.6.1:20200922 * o2em_libretro: bumped to version 1.18:20200913 * opera_libretro: bumped to version 1.0.0:20200711 * parallel_n64_libretro: bumped to version 2.0rc2:20200818 * pcsx_rearmed_libretro: bumped to version r22:20200910 * picodrive_libretro: bumped to version 1.92:20200816 * snes9x_libretro: bumped to version 1.60:20200916 * vba_next_libretro: bumped to version 1.0.2:20200916 * vecx_libretro: bumped to version 1.2:20200916 * virtualjaguar_libretro: bumped to version 2.1.2:20200917 * reminiscence_libretro: bumped to version 0.3.6:20200917 * craft_libretro: bumped to version 1.0:20200725
2020-09-25 21:09:53 +00:00
REVISION="1"
srcGitRev="2ef6f58cffbb526e6c9f6210b32e6771e8dd341e"
SOURCE_URI="https://github.com/libretro/Genesis-Plus-GX/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="158f41d851b5053beba2beb083026e43f114d187f464c36e75c8fc51bce85b4b"
SOURCE_FILENAME="libretro-genesis-plus-gx-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="Genesis-Plus-GX-$srcGitRev"
ADDITIONAL_FILES="genesis_plus_gx_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
genesis_plus_gx_libretro$secondaryArchSuffix = $portVersion
addon:genesis_plus_gx_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/genesis_plus_gx_libretro.info.in \
> genesis_plus_gx_libretro.info
make -f Makefile.libretro $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" README.md LICENSE.txt
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
genesis_plus_gx_libretro.info \
genesis_plus_gx_libretro.so
}