Created new port (#5186)

This commit is contained in:
kwyxz
2020-07-14 09:08:41 -07:00
committed by GitHub
parent a44579a641
commit e7250c9bc7
2 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
display_name = "NEC - PC Engine / SuperGrafx / CD (Beetle PCE)"
authors = "Mednafen Team"
supported_extensions = "pce|cue|ccd|iso|img|bin|chd"
corename = "Beetle PCE"
manufacturer = "NEC"
categories = "Emulator"
systemname = "PC Engine/SuperGrafx/CD"
systemid = "pc_engine"
database = "NEC - PC Engine SuperGrafx|NEC - PC Engine - TurboGrafx 16|NEC - PC Engine CD - TurboGrafx-CD"
license = "GPLv2"
permissions = ""
display_version = "@DISPLAY_VERSION@"
supports_no_game = "false"
firmware_count = 4
firmware0_desc = "syscard3.pce (Super CD-ROM2 System V3.xx)"
firmware0_path = "syscard3.pce"
firmware0_opt = "true"
firmware1_desc = "syscard2.pce (CD-ROM System V2.xx)"
firmware1_path = "syscard2.pce"
firmware1_opt = "true"
firmware2_desc = "syscard1.pce (CD-ROM System V1.xx)"
firmware2_path = "syscard1.pce"
firmware2_opt = "true"
firmware3_desc = "gexpress.pce (Game Express CD Card)"
firmware3_path = "gexpress.pce"
firmware3_opt = "true"
notes = "(!) syscard3.pce (md5): 38179df8f4ac870017db21ebcbf53114|[i] For cue files track type use:|[i] OGG for ogg files|[i] WAVE for wav files|[i] BINARY for iso files"
description = "A PC Engine (PCE) core forked from Mednafen's PCE-Accurate emulator, this core is a bit slower than the Fast core, but it is also more accurate, with support for a few extra games that are broken on the Fast core. In addition to PCE, PCE-CD, TurboGrafx 16 and TurboGrafx 16 CD, this core also differs from the Fast version in its support for the SuperGrafx console."

View File

@@ -0,0 +1,52 @@
SUMMARY="A standalone port of Mednafen PCE to libretro"
DESCRIPTION="This is a port of Mednafen PCE to libretro, a MEC PC Engine \
and SuperGrafx emulator. This version focuses on accuracy while the \
PCE Fast version focuses on speed."
HOMEPAGE="https://mednafen.github.io/documentation/pce.html"
COPYRIGHT="2005-2020 Forgotten, the Mednafen team, the libretro team"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="de5aee8e865dcb8af4c46a4374d745cbc93c35b0"
SOURCE_URI="https://github.com/libretro/beetle-pce-libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="d0c9a3cf565648419c312e0dfb18ac20fb4bc1b0152f39d39c7e9ec7f9f47877"
SOURCE_FILENAME="libretro-mednafen-pce-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="beetle-pce-libretro-$srcGitRev"
ADDITIONAL_FILES="mednafen_pce_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
mednafen_pce_libretro$secondaryArchSuffix = $portVersion
addon:mednafen_pce_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/mednafen_pce_libretro.info.in \
> mednafen_pce_libretro.info
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" COPYING README.md
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
mednafen_pce_libretro.info \
mednafen_pce_libretro.so
}