mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
52 lines
1.5 KiB
Bash
52 lines
1.5 KiB
Bash
SUMMARY="REminiscence, a port of the Flashback game engine to the Libretro API"
|
|
DESCRIPTION="REminiscence is a port of the Flashback game engine to Libretro.\
|
|
It allows you to play the glorious Adeline Software classic on modern systems."
|
|
HOMEPAGE="http://cyxdown.free.fr/reminiscence/"
|
|
COPYRIGHT="2005-2020 Gregory Montoir, the libretro team"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
srcGitRev="b065c21af69e432f578524839c192a4061773d6e"
|
|
SOURCE_URI="https://github.com/libretro/REminiscence/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="f14d8e12c386432996238cb30a87b656ff7577fe8590aab3c34b563d36f16e56"
|
|
SOURCE_FILENAME="libretro-reminiscence-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="REminiscence-$srcGitRev"
|
|
ADDITIONAL_FILES="reminiscence_libretro.info.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2 ?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
reminiscence_libretro$secondaryArchSuffix = $portVersion
|
|
addon:reminiscence_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/reminiscence_libretro.info.in \
|
|
> reminiscence_libretro.info
|
|
make $jobArgs clean && make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" README.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
reminiscence_libretro.info \
|
|
reminiscence_libretro.so
|
|
}
|