54 lines
1.5 KiB
Bash
54 lines
1.5 KiB
Bash
SUMMARY="A port of MelonDS, a Nintendo DS emulator to the libretro API"
|
|
DESCRIPTION="MelonDS is a Nintendo DS emulator with emphasis on performance. \
|
|
It is attempting to do things 'right and fast' according to its original \
|
|
author. This is the libretro core based of MelonDS."
|
|
HOMEPAGE="http://melonds.kuribo64.net/"
|
|
COPYRIGHT="2016-2020 StapleButter, the libretro team"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
srcGitRev="b1d8c44095b2bbca56ac119efe3d9afc61c421cc"
|
|
SOURCE_URI="https://github.com/libretro/melonDS/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="7065b9756d3d30c127d1d4c0d098b59ed33f03b44e00aa9869862c25117f79c1"
|
|
SOURCE_FILENAME="melonds-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="melonDS-$srcGitRev"
|
|
ADDITIONAL_FILES="melonds_libretro.info.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
melonds_libretro$secondaryArchSuffix = $portVersion
|
|
addon:melonds_libretro$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
retroarch$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libGL$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
|
${portDir}/additional-files/melonds_libretro.info.in \
|
|
> melonds_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 \
|
|
melonds_libretro.info \
|
|
melonds_libretro.so
|
|
}
|