Files
haikuports/games-emulation/gambatte_libretro/gambatte_libretro-0.5.0_20260116.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

54 lines
1.6 KiB
Bash

SUMMARY="A port of Gambatte, a Nintendo Game Boy emulator to the libretro API"
DESCRIPTION="Gambatte is an accuracy-focused, open-source, cross-platform \
Game Boy Color emulator written in C++. It is based on hundreds of corner case \
hardware tests, as well as previous documentation and reverse engineering \
efforts."
HOMEPAGE="https://github.com/sinamas/gambatte"
COPYRIGHT="2007-2018 Sindre Aamås, the libretro team"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="9fe223d9c4b615c55840170c6e85e6e9fa4bd1d2"
SOURCE_URI="https://github.com/libretro/gambatte-libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="302470f26dac743d9d26bbbcd5b059dc6ebefe1b777a970fe1e21b1758a308f8"
SOURCE_FILENAME="gambatte-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="gambatte-libretro-$srcGitRev"
ADDITIONAL_FILES="gambatte_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gambatte_libretro$secondaryArchSuffix = $portVersion
addon:gambatte_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/gambatte_libretro.info.in \
> gambatte_libretro.info
make -f Makefile.libretro $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 \
gambatte_libretro.info \
gambatte_libretro.so
}