53 lines
1.6 KiB
Bash
53 lines
1.6 KiB
Bash
SUMMARY="A standalone port of Mednafen PCE Fast to libretro"
|
|
DESCRIPTION="This is a port of Mednafen PCE Fast to libretro, a MEC PC Engine \
|
|
and SuperGrafx emulator. This is one of the original emulators in Mednafen \
|
|
that is not a fork from another."
|
|
HOMEPAGE="https://mednafen.github.io/documentation/pce_fast.html"
|
|
COPYRIGHT="2005-2018 Forgotten, the Mednafen team, the libretro team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
srcGitRev="81d4c9d07a76c89c32ad0e7450b69bde6403836f"
|
|
SOURCE_URI="https://github.com/libretro/beetle-pce-fast-libretro/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="da3caa6fdd4fe449ba7d2b34eb4f190e407ee1147b12c339b8c72a4709757350"
|
|
SOURCE_FILENAME="libretro-mednafen-pce-fast-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="beetle-pce-fast-libretro-$srcGitRev"
|
|
ADDITIONAL_FILES="mednafen_pce_fast_libretro.info.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mednafen_pce_fast_libretro$secondaryArchSuffix = $portVersion
|
|
addon:mednafen_pce_fast_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_pce_fast_libretro.info.in \
|
|
> mednafen_pce_fast_libretro.info
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" COPYING README.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
mednafen_pce_fast_libretro.info \
|
|
mednafen_pce_fast_libretro.so
|
|
}
|