mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
58 lines
1.7 KiB
Bash
58 lines
1.7 KiB
Bash
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
|
|
}
|