Files
haikuports/app-emulation/nekop2_libretro/nekop2_libretro-0.86_20200507.recipe
kwyxz 0bdd854222 Bump : various libretro cores (#4965)
* bluemsx_libretro: bumped to version 2.9.0:20200507

* cap32_libretro: bumped to version 4.2.0:20200508

* fuse_libretro: bumped to version 1.1.1:20200506

* hatari_libretro: bumped to version 1.8:20200402

* nekop2_libretro: bumped to version 0.86:20200507

* fbneo_libretro: bumped to version 0.2.97.44:20200506

* fceumm_libretro: bumped to version 0.0.1:20200506

* freeintv_libretro: bumped to version 20180214:20200421

* gpsp_libretro: bumped to version 0.91:20200405

* mednafen_psx_libretro: bumped to version 0.9.39.2:20200422

* mednafen_vb_libretro: bumped to version 0.9.36.1:20200425

* mgba_libretro: bumped to version 0.6.1:20200422

* pcsx_rearmed_libretro: bumped to version r22:20200507

* vecx_libretro: bumped to version 1.2:20200509

* craft_libretro: bumped to version 1.0:20200504

* 2048_libretro: bumped to version 1.0:20200503

* gme_libretro: bumped to version 0.5.2:20200509
2020-05-09 17:17:25 -04:00

55 lines
1.5 KiB
Bash

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="https://www.yui.ne.jp/np2/"
COPYRIGHT="2005-2018 the NekoP2 team, the libretro team"
LICENSE="MIT"
REVISION="1"
srcGitRev="b005f6b7f608e22ab33bccafe581c62a025050bb"
SOURCE_URI="https://github.com/libretro/libretro-meowPC98/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="97f01caac41bd909bdcf0f3dbc31aabfff77da06b6f6e329e2be5221c514921f"
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
}