58 lines
1.7 KiB
Bash
58 lines
1.7 KiB
Bash
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"
|
|
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
|
|
}
|