mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
53 lines
1.6 KiB
Bash
53 lines
1.6 KiB
Bash
SUMMARY="A port of FCEUMM, a Famicom/NES emulator to the libretro architecture"
|
|
DESCRIPTION="FCEUMM is a fork of FCEU Ultra which supports a lot of new \
|
|
mappers including some obscure mappers such as one for unlicensed NES ROMs."
|
|
HOMEPAGE="http://cah4e3.shedevr.org.ru/fceultra.php"
|
|
COPYRIGHT="2011-2018 the FCEU team, cah4e3, the libretro team"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
srcGitRev="16170cdfa741e5e0f41adce5d1c379314407126a"
|
|
SOURCE_URI="https://github.com/libretro/libretro-fceumm/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="8206ab62c02159689b668d8be2b33b769299ef0abaf077b8accd746157bd701d"
|
|
SOURCE_FILENAME="libretro-fceumm-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="libretro-fceumm-$srcGitRev"
|
|
ADDITIONAL_FILES="fceumm_libretro.info.in"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
fceumm_libretro$secondaryArchSuffix = $portVersion
|
|
addon:fceumm_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/fceumm_libretro.info.in \
|
|
> fceumm_libretro.info
|
|
make -f Makefile.libretro $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" Authors Copying changelog.txt README.md \
|
|
whatsnew.txt zzz_todo.txt
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
fceumm_libretro.info \
|
|
fceumm_libretro.so
|
|
}
|