mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
picodrive_libretro: bump (#5884)
This commit is contained in:
@@ -1,16 +1,35 @@
|
||||
# Software Information
|
||||
display_name = "Sega - MS/MD/CD/32X (PicoDrive)"
|
||||
authors = "notaz|fdave"
|
||||
supported_extensions = "bin|gen|smd|md|32x|cue|iso|sms|68k"
|
||||
authors = "notaz|fdave|irixxxx"
|
||||
supported_extensions = "bin|gen|smd|md|32x|chd|cue|iso|sms|68k"
|
||||
corename = "PicoDrive"
|
||||
manufacturer = "Sega"
|
||||
categories = "Emulator"
|
||||
systemname = "Sega 8/16-bit + 32X (Various)"
|
||||
systemid = "mega_drive"
|
||||
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@"
|
||||
categories = "Emulator"
|
||||
|
||||
# Hardware Information
|
||||
manufacturer = "Sega"
|
||||
systemname = "Sega 8/16-bit + 32X (Various)"
|
||||
systemid = "mega_drive"
|
||||
|
||||
# Libretro Features
|
||||
database = "Sega - Master System - Mark III|Sega - Mega-CD - Sega CD|Sega - Mega Drive - Genesis|Sega - PICO|Sega - 32X"
|
||||
supports_no_game = "false"
|
||||
savestate = "true"
|
||||
savestate_features = "deterministic"
|
||||
cheats = "true"
|
||||
input_descriptors = "true"
|
||||
memory_descriptors = "true"
|
||||
libretro_saves = "true"
|
||||
core_options = "true"
|
||||
load_subsystem = "false"
|
||||
hw_render = "false"
|
||||
needs_fullpath = "true"
|
||||
disk_control = "true"
|
||||
is_experimental = "false"
|
||||
|
||||
# Firmware / BIOS
|
||||
firmware_count = 3
|
||||
firmware0_desc = "bios_CD_E.bin (MegaCD EU BIOS)"
|
||||
firmware0_path = "bios_CD_E.bin"
|
||||
@@ -22,3 +41,5 @@ firmware2_desc = "bios_CD_J.bin (MegaCD JP BIOS)"
|
||||
firmware2_path = "bios_CD_J.bin"
|
||||
firmware2_opt = "true"
|
||||
notes = "(!) bios_CD_U.bin (md5): 2efd74e3232ff260e371b99f84024f7f|(!) bios_CD_E.bin (md5): e66fa1dc5820d254611fdcdba0662372|(!) bios_CD_J.bin (md5): 278a9397d192149e84e820ac621a8edd"
|
||||
|
||||
description = "A fast and portable emulator for many Sega game consoles, ported to libretro. This core is notable for being the only open source emulator to support the 32X add-on. It also has very stable savestates, making it a good choice for features that require them. However, this core has lower accuracy than Genesis Plus GX and BlastEm, so users seeking the highest accuracy on reasonably-powered devices should use those cores instead."
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
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="67cdfb8c5d407c5a4e8f25ffa0ee7fac716b0690"
|
||||
SOURCE_URI="https://github.com/libretro/picodrive/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="39871c4c5d2af833a4ae56ef83cfe21102edc563b728f00c56d50de9857cbf1e"
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
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="3411c297e72608dcadd0407e6f364a1878260d23"
|
||||
SOURCE_URI="https://github.com/libretro/picodrive/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="7326d03c578ea0a7f6a3125aef173aa5f1241c2c9a1d3023da3da0e05992d21e"
|
||||
SOURCE_FILENAME="libretro-picodrive-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="picodrive-$srcGitRev"
|
||||
srcGitRev_2="94a9d9a888e72cbfa4db12113cd113cf5e154f7f"
|
||||
SOURCE_URI_2="https://github.com/notaz/cyclone68000/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="1bd2f6558b3cf276ed6d895df303c3e8fc45e501017b10c2f96b35a73d052401"
|
||||
SOURCE_FILENAME_2="cyclone68000-$srcGitRev_2.tar.gz"
|
||||
SOURCE_DIR_2="cyclone68000-$srcGitRev_2"
|
||||
srcGitRev_3="ff3175ddb040b1a967c665a28868b16bf5aa97dd"
|
||||
SOURCE_URI_3="https://github.com/irixxxx/libchdr-picodrive/archive/$srcGitRev_3.tar.gz"
|
||||
CHECKSUM_SHA256_3="0684ee076fb288cf52fcf4451463043c23db3e37dc43b478ca7f80196803bded"
|
||||
SOURCE_FILENAME_3="libchdr-picodrive-$srcGitRev_3.tar.gz"
|
||||
SOURCE_DIR_3="libchdr-picodrive-$srcGitRev_3"
|
||||
srcGitRev_4="9f1dcf848d0e33e775e49352f7bc83a9c0e87a81"
|
||||
SOURCE_URI_4="https://github.com/digital-sound-antiques/emu2413/archive/$srcGitRev_4.tar.gz"
|
||||
CHECKSUM_SHA256_4="e8341a5dad1d9eb1f6c0acb9fbdc7d41e2739699e568a60da8a00d9e628ce351"
|
||||
SOURCE_FILENAME_4="emu2413-$srcGitRev_4.tar.gz"
|
||||
SOURCE_DIR_4="emu2413-$srcGitRev_4"
|
||||
srcGitRev_5="d57c9992201e065f8caf6ce68247195ff98e8420"
|
||||
SOURCE_URI_5="https://github.com/irixxxx/libpicofe/archive/$srcGitRev_5.tar.gz"
|
||||
CHECKSUM_SHA256_5="4e5172e2374aee49d65e7283fa88ee4ff17e145721e2dd98468d1b6db4a7851d"
|
||||
SOURCE_FILENAME_5="libpicofe-$srcGitRev_5.tar.gz"
|
||||
SOURCE_DIR_5="libpicofe-$srcGitRev_5"
|
||||
srcGitRev_6="343aa923439e59e7a9f7726f70edc77a4500bdec"
|
||||
SOURCE_URI_6="https://github.com/mackron/dr_libs/archive/$srcGitRev_6.tar.gz"
|
||||
CHECKSUM_SHA256_6="02066f139aa14c1aa986b103624e36493d6a895125a565e770709754196362f0"
|
||||
SOURCE_FILENAME_6="dr_libs-$srcGitRev_6.tar.gz"
|
||||
SOURCE_DIR_6="dr_libs-$srcGitRev_6"
|
||||
srcGitRev_7="95864e8e0d3b34402a49ae9af6c66f7e98c13c35"
|
||||
SOURCE_URI_7="https://github.com/lieff/minimp3/archive/$srcGitRev_7.tar.gz"
|
||||
CHECKSUM_SHA256_7="033fd7eab9ab2fbf70070e76c85d41cecaab6e1d59c52725f8b6bbcc453282ee"
|
||||
SOURCE_FILENAME_7="minimp3-$srcGitRev_7.tar.gz"
|
||||
SOURCE_DIR_7="minimp3-$srcGitRev_7"
|
||||
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
|
||||
cmd:awk
|
||||
cmd:find
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
||||
$portDir/additional-files/picodrive_libretro.info.in \
|
||||
> picodrive_libretro.info
|
||||
# Remove directories from submodules and copy them
|
||||
rm -rf cpu/cyclone
|
||||
cp -r $sourceDir2 cpu/cyclone
|
||||
rm -rf pico/cd/libchdr
|
||||
cp -r $sourceDir3 pico/cd/libchdr
|
||||
rm -rf pico/sound/emu2413
|
||||
cp -r $sourceDir4 pico/sound/emu2413
|
||||
rm -rf platform/libpicofe
|
||||
cp -r $sourceDir5 platform/libpicofe
|
||||
rm -rf platform/common/dr_libs
|
||||
cp -r $sourceDir6 platform/common/dr_libs
|
||||
rm -rf platform/common/minimp3
|
||||
cp -r $sourceDir7 platform/common/minimp3
|
||||
# Build the core
|
||||
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