Files
haikuports/games-emulation/gearcoleco_libretro/gearcoleco_libretro-1.0.0_20220927.recipe
kwyxz d89f7dbf6b Haiku libretro cores (#7236)
* 81_libretro: bumped to version 1.0a:20220911

* atari800_libretro: bumped to version 3.1.0:20220726

* bk_libretro: bumped to version 1.0:20220726

* bluemsx_libretro: bumped to version 2.9.0:20220721

* cap32_libretro: bumped to version 4.2.0:20220918

* fmsx_libretro: bumped to version 4.9:20220726

* fuse_libretro: bumped to version 1.1.1:20220726

* hatari_libretro: bumped to version 1.8:20220616

* puae_libretro: bumped to version 2.6.1:20220915

* mrboom_libretro: bumped to version 5.2:20220725

* xrick_libretro: bumped to version 1.0.0.6:20220806

* blastem_libretro: bumped to version 0.6.3:20220726

* desmume_libretro: bumped to version 0.9.11:20220926

* dosbox_pure_libretro: bumped to version 0.13:20220916

* fbneo_libretro: bumped to version 1.0.0.0:20220925

* fceumm_libretro: bumped to version 0.0.1:20220929

* freeintv_libretro: bumped to version 0.0:20220805

* gambatte_libretro: bumped to version 0.5.0:20220822

* gearboy_libretro: bumped to version 3.4:20220927

* gearcoleco_libretro: bumped to version 1.0.0:20220927

* gearsystem_libretro: bumped to version 3.4.1:20220927

* genesis_plus_gx_libretro: bumped to version 1.7.4:20220923

* gpsp_libretro: bumped to version 0.91:20220726

* gw_libretro: bumped to version 1.6.2:20220726

* mame2003_plus_libretro: bumped to version 1.0:20220929

* mednafen_lynx_libretro: bumped to version 0.9.32:20220610

* mednafen_ngp_libretro: bumped to version 0.9.36.1:20220719

* mednafen_pce_fast_libretro: bumped to version 0.9.38.7:20220828

* mednafen_pce_libretro: bumped to version 0.9.38.7:20220721

* mednafen_pcfx_libretro: bumped to version 0.9.33.3:20220721

* mednafen_psx_libretro: bumped to version 0.9.44.1:20220913

* Bump: mednafen_saturn_libretro
2022-10-02 15:51:18 +02:00

54 lines
1.6 KiB
Bash

SUMMARY="A port of Gearcoleco, a Colecovision emulator to the libretro API"
DESCRIPTION="Gearcoleco is a very accurate cross-platform ColecoVision \
emulator written in C++ that runs on Windows, macOS, Linux, BSD, Raspberry Pi \
and RetroArch."
HOMEPAGE="https://github.com/drhelius/Gearcoleco"
COPYRIGHT="2020-2021 Ignacio Sánchez"
LICENSE="GNU GPL v3"
REVISION="1"
srcGitRev="c93b80b73368518a28f27ea78ed617dc964d41b7"
SOURCE_URI="https://github.com/drhelius/Gearcoleco/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="bbc9a8bbc49269b631db94804b6fc1817832ba56e6f59bfba843c05a9f0b2686"
SOURCE_FILENAME="Gearcoleco-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="Gearcoleco-$srcGitRev"
ADDITIONAL_FILES="gearcoleco_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gearcoleco_libretro$secondaryArchSuffix = $portVersion
addon:gearcoleco_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/gearcoleco_libretro.info.in \
> gearcoleco_libretro.info
cd platforms/libretro && make GIT_VERSION=${srcGitRev:0:7} $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" LICENSE README.md backers.md
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
gearcoleco_libretro.info \
platforms/libretro/gearcoleco_libretro.so
}