mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
55 lines
1.8 KiB
Bash
55 lines
1.8 KiB
Bash
SUMMARY="A standalone port of Mednafen PSX to libretro"
|
|
DESCRIPTION="This is a port of the Mednafen PSX module to libretro, a Sony \
|
|
PlayStation emulator. It is one of the original systems supported by Mednafen. \
|
|
This package provides the software rendering core. It focuses on accurate \
|
|
rendering by not using any kind of hardware acceleration. For hardware \
|
|
acceleration and graphical improvements, use the mednafen_psx_hw_libretro core."
|
|
HOMEPAGE="https://mednafen.github.io/documentation/psx.html"
|
|
COPYRIGHT="2005-2018 Forgotten, the Mednafen team, the libretro team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
srcGitRev="1eb9b2503d1437f0f7b9ec0a1883374c2991e7c3"
|
|
SOURCE_URI="https://github.com/libretro/beetle-psx-libretro/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="a74891082dc3817b4d79e2df37f461a6e5197b75ccd9941c609ba21918b125ce"
|
|
SOURCE_FILENAME="libretro-mednafen-psx-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="beetle-psx-libretro-$srcGitRev"
|
|
ADDITIONAL_FILES="mednafen_psx_libretro.info.in"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mednafen_psx_libretro$secondaryArchSuffix = $portVersion
|
|
addon:mednafen_psx_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_psx_libretro.info.in \
|
|
> mednafen_psx_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_psx_libretro.info \
|
|
mednafen_psx_libretro.so
|
|
}
|