mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
nestopia_libretro: a Libretro port of Nestopia (#2464)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
display_name = "Nintendo - NES / Famicom (Nestopia UE)"
|
||||
authors = "Martin Freij|R. Belmont|R. Danbrook"
|
||||
supported_extensions = "nes|fds|unf|unif"
|
||||
corename = "Nestopia"
|
||||
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 = "NstDatabase.xml (Nestopia UE Database file)"
|
||||
firmware0_path = "NstDatabase.xml"
|
||||
firmware0_opt = "false"
|
||||
firmware1_desc = "disksys.rom (Family Computer Disk System BIOS)"
|
||||
firmware1_path = "disksys.rom"
|
||||
firmware1_opt = "false"
|
||||
notes = "Get NstDatabase.xml from https://github.com/0ldsk00l/nestopia|(!) disksys.rom (md5): ca30b50f880eb660a320674ed365ef7a|Press Retropad L1 to switch disk side."
|
||||
@@ -0,0 +1,55 @@
|
||||
SUMMARY="A port of Nestopia, a Nintendo Entertainment System emulator to the \
|
||||
libretro API"
|
||||
DESCRIPTION="Nestopia is one of the most accurate NES emulators available \
|
||||
and is able to run 99% of commercial games close to perfection. This is the \
|
||||
libretro port of the emulator."
|
||||
HOMEPAGE="http://nestopia.sourceforge.net/"
|
||||
COPYRIGHT="2012-2018 Martin Freij, 0ldSk00l, the libretro team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="bfa119a5b18f4da8ab881f65980c60d56cbac553"
|
||||
SOURCE_URI="https://github.com/libretro/nestopia/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="af3aa63fdc24d224de21d43eb6b4c7808f6bb53d161d9b8882def3f723f94ea7"
|
||||
SOURCE_FILENAME="nestopia-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="nestopia-$srcGitRev"
|
||||
ADDITIONAL_FILES="nestopia_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
nestopia_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:nestopia_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/nestopia_libretro.info.in \
|
||||
> nestopia_libretro.info
|
||||
|
||||
make -C libretro GIT_VERSION=${srcGitRev:0:7} $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" AUTHORS ChangeLog COPYING \
|
||||
README.md readme.html NstDatabase.xml
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
nestopia_libretro.info \
|
||||
libretro/nestopia_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user