mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
mupen64plus_libretro: a Nintendo 64 emulator for libretro (#2353)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
display_name = "Nintendo - Nintendo 64 (Mupen64Plus)"
|
||||
authors = "Hacktarux|Mupen64Plus Team"
|
||||
supported_extensions = "n64|v64|z64|bin|u1|ndd"
|
||||
corename = "Mupen64Plus OpenGL"
|
||||
manufacturer = "Nintendo"
|
||||
categories = "Emulator"
|
||||
systemname = "Nintendo 64"
|
||||
database = "Nintendo - Nintendo 64|Nintendo - Nintendo 64DD"
|
||||
license = "GPLv2"
|
||||
permissions = "dynarec_optional"
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
@@ -0,0 +1,57 @@
|
||||
SUMMARY="A port of Mupen64 plus, a Nintendo 64 emulator to the libretro API"
|
||||
DESCRIPTION="Mupen64Plus is a cross-platform plugin-based N64 emulator which \
|
||||
is capable of accurately playing many games. This is the libretro core."
|
||||
HOMEPAGE="https://mupen64plus.org/"
|
||||
COPYRIGHT="2001-2018 Hacktarux, richard42g, the libretro team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="6f80cbc13978a192193c828010e894a172b9d917"
|
||||
SOURCE_URI="https://github.com/libretro/mupen64plus-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="1b1dc6d242ae1954dcef75d7dc870edf614fc2788e80a7c7065238a4ae5460b6"
|
||||
SOURCE_FILENAME="mupen64plus-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="mupen64plus-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="mupen64plus_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
mupen64plus_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:mupen64plus_libretro$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
retroarch$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
||||
$portDir/additional-files/mupen64plus_libretro.info.in \
|
||||
> mupen64plus_libretro.info
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" LICENSE README.md
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
mupen64plus_libretro.info \
|
||||
mupen64plus_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user