mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
meteor_libretro: a port of Meteor, a GBA emulator for libretro (#2392)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
display_name = "Nintendo - Game Boy Advance (Meteor)"
|
||||
authors = "Philippe Daouadi"
|
||||
supported_extensions = "gba"
|
||||
corename = "Meteor"
|
||||
manufacturer = "Nintendo"
|
||||
categories = "Emulator"
|
||||
systemname = "Game Boy Advance"
|
||||
database = "Nintendo - Game Boy Advance|Nintendo - Game Boy Advance (e-Cards)"
|
||||
license = "GPLv3"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
@@ -0,0 +1,52 @@
|
||||
SUMMARY="A Nintendo Game Boy Advance emulator using the libretro API"
|
||||
DESCRIPTION="Meteor is a Nintendo Game Boy Advance emulator. This is the \
|
||||
libretro core version of Meteor, for use with RetroArch."
|
||||
HOMEPAGE="https://github.com/blastrock/meteor"
|
||||
COPYRIGHT="2010-2018 Philippe Daouadi, the libretro team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="a0527761b0e3003a209643e2a1e1772577f12b07"
|
||||
SOURCE_URI="https://github.com/libretro/meteor-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="7960a7b57bac84ee34cc76fbc6545fe5feb10c8cf2fe97b971a3c69791e59765"
|
||||
SOURCE_FILENAME="libretro-meteor-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="meteor-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="meteor_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
meteor_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:meteor_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/meteor_libretro.info.in \
|
||||
> meteor_libretro.info
|
||||
cd libretro
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" AUTHORS COPYING README.md
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
meteor_libretro.info \
|
||||
libretro/meteor_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user