mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
mednafen_pcfx_libretro: a port of Mednafen PC-FX (#2364)
for the libretro API
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
display_name = "NEC - PC-FX (Beetle PC-FX)"
|
||||
authors = "Mednafen Team"
|
||||
supported_extensions = "cue|ccd|toc|chd"
|
||||
corename = "Beetle PC-FX"
|
||||
manufacturer = "NEC"
|
||||
categories = "Emulator"
|
||||
systemname = "PC-FX"
|
||||
database = "NEC - PC-FX"
|
||||
license = "GPLv2"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
firmware_count = 1
|
||||
firmware0_desc = "pcfx.rom (PC-FX BIOS v1.00 - 2 Sep 1994)"
|
||||
firmware0_path = "pcfx.rom"
|
||||
firmware0_opt = "false"
|
||||
notes = "(!) pcfx.rom (md5): 08e36edbea28a017f79f8d4f7ff9b6d7"
|
||||
@@ -0,0 +1,51 @@
|
||||
SUMMARY="A standalone port of Mednafen PC-FX to libretro"
|
||||
DESCRIPTION="This is a standalone port of Mednafen PC-FX to libretro, an NEC \
|
||||
PC-FX emulator. It is one of the original emulators included in Mednafen."
|
||||
HOMEPAGE="https://mednafen.github.io/documentation/pcfx.html"
|
||||
COPYRIGHT="2005-2018 Forgotten, the Mednafen team, the libretro team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="11be243c301a979a3149e0e5bbd2465f66f85c0e"
|
||||
SOURCE_URI="https://github.com/libretro/beetle-pcfx-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="ae020825ca7f50686daad87ab68a20a11ffc1d8b96b662308b512a607ad34b37"
|
||||
SOURCE_FILENAME="libretro-mednafen-pcfx-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="beetle-pcfx-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="mednafen_pcfx_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
mednafen_pcfx_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:mednafen_pcfx_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_pcfx_libretro.info.in \
|
||||
> mednafen_pcfx_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_pcfx_libretro.info \
|
||||
mednafen_pcfx_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user