Files
haikuports/games-emulation/bsnes_libretro/bsnes_libretro-115.1_20260109.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

48 lines
1.4 KiB
Bash

SUMMARY="A port of bsnes to the libretro architecture"
DESCRIPTION="bsnes is an accurate SNES emulator, but can also emulate the NES, \
Game Boy (DMG), Game Boy Color, and Game Boy Advance. This is a libretro \
core based off the latest version of bsnes, following its complete rewrite \
by its original author Near."
HOMEPAGE="https://bsnes.dev/"
COPYRIGHT="2014-2021 Near, the libretro team"
LICENSE="GNU GPL v3"
REVISION="1"
srcGitRev="ae5cc6010b16e7803f36548a8bf1d915ce6e6c10"
SOURCE_URI="https://github.com/bsnes-emu/bsnes/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="933ea1ff1ba99930b50a41f9aa5cff7fb777d2f9825654981d40b320ea90cacb"
SOURCE_FILENAME="bsnes-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="bsnes-$srcGitRev"
ADDITIONAL_FILES="bsnes_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
bsnes_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/bsnes_libretro.info.in > bsnes_libretro.info
cd bsnes
make $jobArgs target=libretro
}
INSTALL()
{
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro bsnes/out/bsnes_libretro.so bsnes_libretro.info
}