mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
mednafen_gba_libretro: a port of Mednafen GBA (#2359)
to the libretro API
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
SUMMARY="A standalone port of Mednafen GBA to libretro"
|
||||
DESCRIPTION="This is a standalone port of Mednafen GBA to libretro, a Game Boy \
|
||||
Advance emulator. It is itself a fork of VBA-M, itself a fork of Visual Boy \
|
||||
Advance."
|
||||
HOMEPAGE="https://mednafen.github.io/documentation/gba.html"
|
||||
COPYRIGHT="2005-2018 Forgotten, the Mednafen team, the libretro team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="49358b2cd878f644179913c8b78c5cc9732d0d21"
|
||||
SOURCE_URI="https://github.com/libretro/beetle-gba-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="6ef9e29478b30b18249f3001ca99d4237c86736bda899cc2d720e13b290d3c28"
|
||||
SOURCE_FILENAME="libretro-mednafen-gba-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="beetle-gba-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="mednafen_gba_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
mednafen_gba_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:mednafen_gba_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/mednafen_gba_libretro.info.in \
|
||||
> mednafen_gba_libretro.info
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" COPYING
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
mednafen_gba_libretro.info \
|
||||
mednafen_gba_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user