Files
haikuports/games-engines/cannonball_libretro/cannonball_libretro-0.34_20220309.recipe
2022-03-27 11:16:37 +03:00

56 lines
1.7 KiB
Bash

SUMMARY="A port of Cannonball, a Sega Out Run engine, to libretro"
DESCRIPTION="A port of the Cannonball enhanced OutRun engine to libretro. \
This core includes support for increased framerate (true 60 fps, some 120 fps \
content), true widescreen, new game modes and many more enhancements. To run \
the core/game, you will need to extract the contents of an OutRun Revision B \
ROM archive alongside a dummy file that ends in the *.game file extension (the \
frontend will load this 'game' file)."
HOMEPAGE="https://reassembler.blogspot.com/"
COPYRIGHT="2012-2021 Chris White, the libretro team"
LICENSE="Cannonball"
REVISION="1"
srcGitRev="8fb0d9561ee110f31f45610661649f0c1ff068ee"
SOURCE_URI="https://github.com/libretro/cannonball/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="04c4789fc4c8433db8649654ecc59d84a8a7422b3b2e53892b0ca7febbe2c05c"
SOURCE_FILENAME="cannonball-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="cannonball-$srcGitRev"
ADDITIONAL_FILES="cannonball_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
cannonball_libretro$secondaryArchSuffix = $portVersion
addon:cannonball_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/cannonball_libretro.info.in \
> cannonball_libretro.info
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" README.md docs/license.txt
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
cannonball_libretro.info \
cannonball_libretro.so
}