Files
haikuports/games-emulation/nestopia_libretro/nestopia_libretro-1.49_20260110.recipe
kwyxz e2233261bc Haiku libretro cores: bumps (#13726)
* atari800_libretro: bumped to version 3.1.0:20260130

* bluemsx_libretro: bumped to version 2.9.0:20251104

* cap32_libretro: bumped to version 4.2.0:20260101

* fmsx_libretro: bumped to version 4.9:20250731

* puae_libretro: bumped to version 2.6.1:20251102

* xrick_libretro: bumped to version 1.0.0.6:20251230

* bsnes_libretro: bumped to version 115.1:20260109

* dosbox_pure_libretro: bumped to version 0.13:20260204

* fbneo_libretro: bumped to version 1.0.0.0:20260208

* fceumm_libretro: bumped to version 0.0.1:20250913

* flycast_libretro: bumped to version 0.1:20251212

* freeintv_libretro: bumped to version 0.0:20251226

* gambatte_libretro: bumped to version 0.5.0:20260116

* gearboy_libretro: bumped to version 3.4:20260208

* gearcoleco_libretro: bumped to version 1.0.0:20260208

* gearsystem_libretro: bumped to version 3.4.1:20260208

* genesis_plus_gx_libretro: bumped to version 1.7.4:20260123

* gpsp_libretro: bumped to version 0.91:20260126

* handy_libretro: bumped to version 0.95:20250616

* mame2003_plus_libretro: bumped to version 1.0:20260116

* mednafen_lynx_libretro: bumped to version 0.9.32:20250510

* mednafen_pce_fast_libretro: bumped to version 0.9.38.7:20260123

* mednafen_pce_libretro: bumped to version 0.9.38.7:20250622

* mednafen_psx_libretro: bumped to version 0.9.44.1:20260130

* mednafen_saturn_libretro: bumped to version 0.9.45.1:20260112

* mgba_libretro: bumped to version 0.6.1:20251013

* nestopia_libretro: bumped to version 1.49:20260110

* opera_libretro: bumped to version 1.0.0:20260127

* parallel_n64_libretro: bumped to version 2.0rc2:20251204

* pcsx_rearmed_libretro: bumped to version r22:20260128

* pokemini_libretro: bumped to version 0.60:20250510

* snes9x_libretro: bumped to version 1.60:20250908

* stella_libretro: bumped to version 6.5.3:20260126

* vecx_libretro: bumped to version 1.2:20260112

* yabause_libretro: bumped to version 0.9.15:20251220

* tyrquake_libretro: bumped to version 0.62:20251213

* 2048_libretro: bumped to version 1.0:20251213

* gme_libretro: bumped to version 0.5.2:20260128
2026-02-09 10:26:08 +01:00

55 lines
1.6 KiB
Bash

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-2020 Martin Freij, 0ldSk00l, the libretro team"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="473d3072be67fa2542ca833c274ef6682cf0f0bc"
SOURCE_URI="https://github.com/libretro/nestopia/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="0acbb6c53d87721f9065eed6c3b654a06704cbb500290c4e9d82aa0298d16c5b"
SOURCE_FILENAME="nestopia-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="nestopia-$srcGitRev"
ADDITIONAL_FILES="nestopia_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
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" COPYING NstDatabase.xml
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
nestopia_libretro.info \
libretro/nestopia_libretro.so
}