Files
haikuports/games-emulation/snes9x_libretro/snes9x_libretro-1.60_20250908.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

61 lines
1.8 KiB
Bash

SUMMARY="A port of Snes9x, a Nintendo Super NES emulator to the libretro API"
DESCRIPTION="Snes9x is one of the very first and most well-known Super NES \
emulators. It has been around since 1996, has always managed to remain as \
portable as can be, and while not the most accurate Super NES emulator on the \
market, found a great balance between performance and accuracy. This is the \
libretro port of the development version of Snes9x."
HOMEPAGE="https://www.snes9x.com/"
COPYRIGHT="2007-2020 the Snes9x team, the libretro team"
LICENSE="Snes9x
GNU GPL v2
GNU LGPL v2.1"
REVISION="1"
srcGitRev="5a40cd5514e63e691e39141d64267798357a1424"
SOURCE_URI="https://github.com/libretro/snes9x/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="ff2a451eb6bff8c9ea7bf4fe4d1d9d6254cbc6e922c15c32ac1b8d1a9b6ec3f7"
SOURCE_FILENAME="snes9x-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="snes9x-$srcGitRev"
ADDITIONAL_FILES="snes9x_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
snes9x_libretro$secondaryArchSuffix = $portVersion
addon:snes9x_libretro$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
retroarch$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/snes9x_libretro.info.in \
> snes9x_libretro.info
cd libretro
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" README.md \
docs/changes.txt docs/control-inputs.txt docs/controls.txt \
docs/porting.html docs/snapshots.txt docs/portsofsnes9x.txt
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
snes9x_libretro.info \
libretro/snes9x_libretro.so
}