nekop2_libretro: a port of NekoP2 to the libretro API (#2414)

This commit is contained in:
kwyxz
2018-04-02 12:08:23 -07:00
committed by fbrosson
parent abd007e3be
commit 85d50a7c6f
2 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
display_name = "NEC - PC-98 (Neko Project II)"
authors = "Neko Project II Team"
supported_extensions = "d98|zip|98d|fdi|fdd|2hd|tfd|d88|88d|hdm|xdf|dup|cmd|hdi|thd|nhd|hdd"
corename = "Neko Project II"
manufacturer = "NEC"
categories = "Emulator"
systemname = "PC-98"
database = "PC-98"
license = ""
permissions = ""
display_version = "@DISPLAY_VERSION@"
supports_no_game = "false"

View File

@@ -0,0 +1,54 @@
SUMMARY="A port of NekoP2, a NEC PC98 emulator, to the libretro API"
DESCRIPTION="Neko Project II is a PC-9801E emulator. The PC-9801E belongs to \
the non IBM compatible NEC PC-98xx family. This is the libretro port of NekoP2."
HOMEPAGE="http://www.yui.ne.jp/np2/"
COPYRIGHT="2005-2018 the NekoP2 team, the libretro team"
LICENSE="MIT"
REVISION="1"
srcGitRev="ed1c527a294eb962b457e6e8a3f96b18ebad67c1"
SOURCE_URI="https://github.com/libretro/libretro-meowPC98/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="03825d12852da6038f7748617d5a01ab2621e9d4f58d0adf76a1426b096b0b17"
SOURCE_FILENAME="nekop2-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="libretro-meowPC98-$srcGitRev"
ADDITIONAL_FILES="nekop2_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
nekop2_libretro$secondaryArchSuffix = $portVersion
addon:nekop2_libretro$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
retroarch$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
$portDir/additional-files/nekop2_libretro.info.in \
> nekop2_libretro.info
cd libretro/
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" readme.txt update.txt
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
nekop2_libretro.info \
libretro/nekop2_libretro.so
}