Files
haikuports/games-emulation/mednafen_vb_libretro/mednafen_vb_libretro-0.9.36.1_20200425.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

52 lines
1.5 KiB
Bash

SUMMARY="A standalone port of Mednafen VB to libretro"
DESCRIPTION="This is a standalone port of Mednafen VB to libretro, a Nintendo \
Virtual Boy emulator. It is one of Mednafen's original systems."
HOMEPAGE="https://mednafen.github.io/documentation/vb.html"
COPYRIGHT="2005-2018 Forgotten, the Mednafen team, the libretro team"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="504179e386e9ba1ec01414ba9a7732864f85bd8a"
SOURCE_URI="https://github.com/libretro/beetle-vb-libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="d4c4e25923ab09dc003016d835d8244bc4a5a997be9cb83a8f3df4e4c1cf3688"
SOURCE_FILENAME="libretro-mednafen-vb-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="beetle-vb-libretro-$srcGitRev"
ADDITIONAL_FILES="mednafen_vb_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
mednafen_vb_libretro$secondaryArchSuffix = $portVersion
addon:mednafen_vb_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_vb_libretro.info.in \
> mednafen_vb_libretro.info
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" COPYING
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
mednafen_vb_libretro.info \
mednafen_vb_libretro.so
}