mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
PicoDrive_libretro: a port of PicoDrive to the libretro API (#2534)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
display_name = "Sega - MS/MD/CD/32X (PicoDrive)"
|
||||
authors = "notaz|fdave"
|
||||
supported_extensions = "bin|gen|smd|md|32x|cue|iso|sms|68k"
|
||||
corename = "PicoDrive"
|
||||
manufacturer = "Sega"
|
||||
categories = "Emulator"
|
||||
systemname = "Sega 8/16-bit + 32X (Various)"
|
||||
database = "Sega - Master System - Mark III|Sega - Mega-CD - Sega CD|Sega - Mega Drive - Genesis|Sega - PICO|Sega - 32X"
|
||||
license = "MAME"
|
||||
permissions = "dynarec_optional"
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
firmware_count = 3
|
||||
firmware0_desc = "bios_CD_E.bin (MegaCD EU BIOS)"
|
||||
firmware0_path = "bios_CD_E.bin"
|
||||
firmware0_opt = "false"
|
||||
firmware1_desc = "bios_CD_U.bin (SegaCD US BIOS)"
|
||||
firmware1_path = "bios_CD_U.bin"
|
||||
firmware1_opt = "false"
|
||||
firmware2_desc = "bios_CD_J.bin (MegaCD JP BIOS)"
|
||||
firmware2_path = "bios_CD_J.bin"
|
||||
firmware2_opt = "false"
|
||||
notes = "(!) bios_CD_U.bin (md5): 2efd74e3232ff260e371b99f84024f7f|(!) bios_CD_E.bin (md5): e66fa1dc5820d254611fdcdba0662372|(!) bios_CD_J.bin (md5): 278a9397d192149e84e820ac621a8edd"
|
||||
@@ -0,0 +1,51 @@
|
||||
SUMMARY="A port of PicoDrive, a Sega 16bit emulator to the libretro API"
|
||||
DESCRIPTION="PicoDrive is a Megadrive / Genesis / Sega CD / Mega CD / 32X \
|
||||
emulator, focusing on performance."
|
||||
HOMEPAGE="http://notaz.gp2x.de/pico.php"
|
||||
COPYRIGHT="2005-2018 notaz, the libretro team"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
srcGitRev="eaac037a9e331e8b26a77239d8dd96b76f86515e"
|
||||
SOURCE_URI="https://github.com/libretro/picodrive/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="af6706f90bfd1de07e1f3cd7afe2e1e9ac37f0f176df5ccc5d80fdc4a49e4fea"
|
||||
SOURCE_FILENAME="libretro-picodrive-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="picodrive-$srcGitRev"
|
||||
ADDITIONAL_FILES="picodrive_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
picodrive_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:picodrive_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/picodrive_libretro.info.in \
|
||||
> picodrive_libretro.info
|
||||
make -f Makefile.libretro $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" AUTHORS COPYING README
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
picodrive_libretro.info \
|
||||
picodrive_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user