Files
haikuports/games-emulation/mednafen_ngp_libretro/mednafen_ngp_libretro-0.9.36.1_20220719.recipe
kwyxz d89f7dbf6b Haiku libretro cores (#7236)
* 81_libretro: bumped to version 1.0a:20220911

* atari800_libretro: bumped to version 3.1.0:20220726

* bk_libretro: bumped to version 1.0:20220726

* bluemsx_libretro: bumped to version 2.9.0:20220721

* cap32_libretro: bumped to version 4.2.0:20220918

* fmsx_libretro: bumped to version 4.9:20220726

* fuse_libretro: bumped to version 1.1.1:20220726

* hatari_libretro: bumped to version 1.8:20220616

* puae_libretro: bumped to version 2.6.1:20220915

* mrboom_libretro: bumped to version 5.2:20220725

* xrick_libretro: bumped to version 1.0.0.6:20220806

* blastem_libretro: bumped to version 0.6.3:20220726

* desmume_libretro: bumped to version 0.9.11:20220926

* dosbox_pure_libretro: bumped to version 0.13:20220916

* fbneo_libretro: bumped to version 1.0.0.0:20220925

* fceumm_libretro: bumped to version 0.0.1:20220929

* freeintv_libretro: bumped to version 0.0:20220805

* gambatte_libretro: bumped to version 0.5.0:20220822

* gearboy_libretro: bumped to version 3.4:20220927

* gearcoleco_libretro: bumped to version 1.0.0:20220927

* gearsystem_libretro: bumped to version 3.4.1:20220927

* genesis_plus_gx_libretro: bumped to version 1.7.4:20220923

* gpsp_libretro: bumped to version 0.91:20220726

* gw_libretro: bumped to version 1.6.2:20220726

* mame2003_plus_libretro: bumped to version 1.0:20220929

* mednafen_lynx_libretro: bumped to version 0.9.32:20220610

* mednafen_ngp_libretro: bumped to version 0.9.36.1:20220719

* mednafen_pce_fast_libretro: bumped to version 0.9.38.7:20220828

* mednafen_pce_libretro: bumped to version 0.9.38.7:20220721

* mednafen_pcfx_libretro: bumped to version 0.9.33.3:20220721

* mednafen_psx_libretro: bumped to version 0.9.44.1:20220913

* Bump: mednafen_saturn_libretro
2022-10-02 15:51:18 +02:00

52 lines
1.5 KiB
Bash

SUMMARY="A standalone port of Mednafen NGP to libretro"
DESCRIPTION="This is a standalone port of Mednafen NGP to libretro, a SNK \
Neo Geo Pocket emulator. It is itself a fork of NeoPop."
HOMEPAGE="https://mednafen.github.io/documentation/ngp.html"
COPYRIGHT="2005-2018 Forgotten, the Mednafen team, the libretro team"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="00c7cb8ea97ad9a372307405d8abf34e401fec8a"
SOURCE_URI="https://github.com/libretro/beetle-ngp-libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="c7b24f77606c81818af335377ebedb09da344546c19092e3afe47954c8a4f2f2"
SOURCE_FILENAME="libretro-mednafen-ngp-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="beetle-ngp-libretro-$srcGitRev"
ADDITIONAL_FILES="mednafen_ngp_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
mednafen_ngp_libretro$secondaryArchSuffix = $portVersion
addon:mednafen_ngp_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_ngp_libretro.info.in \
> mednafen_ngp_libretro.info
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" COPYING readme.md
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
mednafen_ngp_libretro.info \
mednafen_ngp_libretro.so
}