fceumm_libretro: a NES emulator for the libretro API (#2328)

This commit is contained in:
Benjamin FRANCOIS
2018-03-15 05:32:59 -07:00
committed by fbrosson
parent 08baccfe22
commit 61d706d488
2 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
display_name = "Nintendo - NES / Famicom (FCEUmm)"
authors = "FCEU Team|CaH4e3"
supported_extensions = "fds|nes|unif|unf"
corename = "FCEUmm"
manufacturer = "Nintendo"
categories = "Emulator"
systemname = "Nintendo Entertainment System"
database = "Nintendo - Nintendo Entertainment System|Nintendo - Family Computer Disk System"
license = "GPLv2"
permissions = ""
display_version = "@DISPLAY_VERSION@"
supports_no_game = "false"
firmware_count = 2
firmware0_desc = "disksys.rom (Family Computer Disk System BIOS)"
firmware0_path = "disksys.rom"
firmware0_opt = "false"
firmware1_desc = "nes.pal (custom NES Palette)"
firmware1_path = "nes.pal"
firmware1_opt = "true"
notes = "(!) disksys.rom (md5): ca30b50f880eb660a320674ed365ef7a|(!) nes.pal must be located in system directory."

View File

@@ -0,0 +1,52 @@
SUMMARY="A port of FCEUMM, a Famicom/NES emulator to the libretro architecture"
DESCRIPTION="FCEUMM is a fork of FCEU Ultra which supports a lot of new \
mappers including some obscure mappers such as one for unlicensed NES ROMs."
HOMEPAGE="http://cah4e3.shedevr.org.ru/fceultra.php"
COPYRIGHT="2011-2018 the FCEU team, cah4e3, the libretro team"
LICENSE="GNU LGPL v2"
REVISION="1"
srcGitRev="16170cdfa741e5e0f41adce5d1c379314407126a"
SOURCE_URI="https://github.com/libretro/libretro-fceumm/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="8206ab62c02159689b668d8be2b33b769299ef0abaf077b8accd746157bd701d"
SOURCE_FILENAME="libretro-fceumm-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="libretro-fceumm-$srcGitRev"
ADDITIONAL_FILES="fceumm_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
fceumm_libretro$secondaryArchSuffix = $portVersion
addon:fceumm_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/fceumm_libretro.info.in \
> fceumm_libretro.info
make -f Makefile.libretro $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" Authors Copying changelog.txt README.md \
whatsnew.txt zzz_todo.txt
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
fceumm_libretro.info \
fceumm_libretro.so
}