Files
haikuports/games-emulation/snes9x_libretro/snes9x_libretro-1.60_20200916.recipe
kwyxz 468435c70c libretro cores : bump to latest git revisions (#5299)
* atari800_libretro: bumped to version 3.1.0:20200921

* bluemsx_libretro: bumped to version 2.9.0:20200920

* cap32_libretro: bumped to version 4.2.0:20200923

* fmsx_libretro: bumped to version 4.9:20200920

* mrboom_libretro: bumped to version 4.9:20200923

* fbneo_libretro: bumped to version 0.2.97.44:20200925

* fceumm_libretro: bumped to version 0.0.1:20200909

* flycast_libretro: bumped to version 0.1:20200923

* freeintv_libretro: bumped to version 0.0:20200721

* gambatte_libretro: bumped to version 0.5.0:20200922

* genesis_plus_gx_libretro: bumped to version 1.7.4:20200717

* gpsp_libretro: bumped to version 0.91:20200921

* handy_libretro: bumped to version 0.95:20200913

* mednafen_gba_libretro: bumped to version 0.9.36:20200818

* mednafen_lynx_libretro: bumped to version 0.9.32:20200919

* mednafen_ngp_libretro: bumped to version 0.9.36.1:20200924

* mednafen_pce_fast_libretro: bumped to version 0.9.38.7:20200924

* mednafen_pce_libretro: bumped to version 0.9.38.7:20200924

* mednafen_pcfx_libretro: bumped to version 0.9.33.3:20200922

* mednafen_psx_hw_libretro: bumped to version 0.9.38.6:20200924

* mednafen_psx_libretro: bumped to version 0.9.39.2:20200924

* mednafen_saturn_libretro: bumped to version 0.9.45.1:20200924

* mednafen_supergrafx_libretro: bumped to version 0.9.38.7:20200925

* mednafen_vb_libretro: bumped to version 0.9.36.1:20200924

* mednafen_wswan_libretro: bumped to version 0.9.35.1:20200924

* mgba_libretro: bumped to version 0.6.1:20200922

* o2em_libretro: bumped to version 1.18:20200913

* opera_libretro: bumped to version 1.0.0:20200711

* parallel_n64_libretro: bumped to version 2.0rc2:20200818

* pcsx_rearmed_libretro: bumped to version r22:20200910

* picodrive_libretro: bumped to version 1.92:20200816

* snes9x_libretro: bumped to version 1.60:20200916

* vba_next_libretro: bumped to version 1.0.2:20200916

* vecx_libretro: bumped to version 1.2:20200916

* virtualjaguar_libretro: bumped to version 2.1.2:20200917

* reminiscence_libretro: bumped to version 0.3.6:20200917

* craft_libretro: bumped to version 1.0:20200725
2020-09-26 00:09:53 +03:00

60 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="http://www.snes9x.com/"
COPYRIGHT="2007-2020 the Snes9x team, the libretro team"
LICENSE="Snes9x
GNU GPL v2
GNU LGPL v2.1"
REVISION="1"
srcGitRev="78794c9475e73a51c363221ba5084cc470002af2"
SOURCE_URI="https://github.com/libretro/snes9x/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="7448313afe8478123ff7342eda0dbc2fd149707f054397cf5bcad5ae642f69ea"
SOURCE_FILENAME="snes9x-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="snes9x-$srcGitRev"
ADDITIONAL_FILES="snes9x_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
snes9x_libretro$secondaryArchSuffix = $portVersion
addon:snes9x_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/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
}