mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
* bluemsx_libretro: bumped to version 2.9.0:20200507 * cap32_libretro: bumped to version 4.2.0:20200508 * fuse_libretro: bumped to version 1.1.1:20200506 * hatari_libretro: bumped to version 1.8:20200402 * nekop2_libretro: bumped to version 0.86:20200507 * fbneo_libretro: bumped to version 0.2.97.44:20200506 * fceumm_libretro: bumped to version 0.0.1:20200506 * freeintv_libretro: bumped to version 20180214:20200421 * gpsp_libretro: bumped to version 0.91:20200405 * mednafen_psx_libretro: bumped to version 0.9.39.2:20200422 * mednafen_vb_libretro: bumped to version 0.9.36.1:20200425 * mgba_libretro: bumped to version 0.6.1:20200422 * pcsx_rearmed_libretro: bumped to version r22:20200507 * vecx_libretro: bumped to version 1.2:20200509 * craft_libretro: bumped to version 1.0:20200504 * 2048_libretro: bumped to version 1.0:20200503 * gme_libretro: bumped to version 0.5.2:20200509
54 lines
1.5 KiB
Bash
54 lines
1.5 KiB
Bash
SUMMARY="A Nintendo Game Boy Advance emulator using the libretro API"
|
|
DESCRIPTION="mGBA is a Nintendo Game Boy Advance emulator with great accuracy. \
|
|
It also now emulates classic Game Boy / Game Boy Color systems. This is the \
|
|
libretro core version of mGBA, for use with RetroArch."
|
|
HOMEPAGE="https://mgba.io/"
|
|
COPYRIGHT="2014-2018 Endrift, the libretro team"
|
|
LICENSE="MPL v2.0"
|
|
REVISION="1"
|
|
srcGitRev="02879f8e62f1437220820c94221d6a5473fb5574"
|
|
SOURCE_URI="https://github.com/libretro/mgba/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="d128e70ebd08f1d45919f05cc7a0280645af1615539f2857446910270e3d45d3"
|
|
SOURCE_FILENAME="libretro-mgba-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="mgba-$srcGitRev"
|
|
ADDITIONAL_FILES="mgba_libretro.info.in"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mgba_libretro$secondaryArchSuffix = $portVersion
|
|
addon:mgba_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/mgba_libretro.info.in \
|
|
> mgba_libretro.info
|
|
make -f Makefile.libretro $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" CHANGES CONTRIBUTING.md LICENSE \
|
|
PORTING.md README.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
mgba_libretro.info \
|
|
mgba_libretro.so
|
|
}
|