Files
haikuports/app-emulation/cap32_libretro/cap32_libretro-4.2.0_20221003.recipe
kwyxz 67217ee00f Haiku libretro cores bump (#7250)
* cap32_libretro: bumped to version 4.2.0:20221003

* puae_libretro: bumped to version 2.6.1:20221004

* fbneo_libretro: bumped to version 1.0.0.0:20221003

* mame2003_plus_libretro: bumped to version 1.0:20221002

* mednafen_saturn_libretro: bumped to version 0.9.45.1:20220829

* mednafen_supergrafx_libretro: bumped to version 0.9.38.7:20220716

* mednafen_vb_libretro: bumped to version 0.9.36.1:20220828

* mednafen_wswan_libretro: bumped to version 0.9.35.1:20220618

* melonds_libretro: bumped to version 0.8.3:20220930

* mesen_libretro: bumped to version 0.9.4:20220829

* mupen64plus_next_libretro: bumped to version 1.0:20220825

* nestopia_libretro: bumped to version 1.49:20220822

* neocd_libretro: bumped to version 0.5:20220515

* o2em_libretro: bumped to version 1.18:20220726

* opera_libretro: bumped to version 1.0.0:20220725

* parallel_n64_libretro: bumped to version 2.0rc2:20220823

* pcsx_rearmed_libretro: bumped to version r22:20221002

* picodrive_libretro: bumped to version 1.92:20220930

* retroarch_assets: bumped to version 0:20220806

* sameboy_libretro: bumped to version 0.9.0:20220819

* snes9x_libretro: bumped to version 1.60:20220512

* vecx_libretro: bumped to version 1.2:20220728

* yabause_libretro: bumped to version 0.9.15:20220712

* tyrquake_libretro: bumped to version 0.62:20220724

* 2048_libretro: bumped to version 1.0:20220707

* gme_libretro: bumped to version 0.5.2:20220726
2022-10-08 07:48:55 +02:00

54 lines
1.5 KiB
Bash

SUMMARY="A port of Caprice32, an Amstrad CPC emulator, to the libretro API"
DESCRIPTION="Caprice32 is a software emulator of the Amstrad CPC 8bit home \
computer series. The emulator imitates the CPC464, CPC664 and CPC6128 models."
HOMEPAGE="https://sourceforge.net/projects/caprice32/"
COPYRIGHT="1997-2020 Ulrich Doewich, dantoine, the libretro team"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="3c6fc81ea4193132d363985cd6616a4b844587a1"
SOURCE_URI="https://github.com/libretro/libretro-cap32/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="ccd4fcd007d0bf67f71b5f19f9c7d8282ccdf23851237407bc314bdaea9c5476"
SOURCE_FILENAME="cap32-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="libretro-cap32-$srcGitRev"
ADDITIONAL_FILES="cap32_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
cap32_libretro$secondaryArchSuffix = $portVersion
addon:cap32_libretro$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
retroarch$secondaryArchSuffix
lib:libz$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/cap32_libretro.info.in \
> cap32_libretro.info
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" README.md
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
cap32_libretro.info \
cap32_libretro.so
}