Files
haikuports/games-rpg/flare/flare-0.19.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

61 lines
1.3 KiB
Bash

SUMMARY="A single-player 2D action role playing game"
DESCRIPTION="Flare is a single-player 2D action RPG with fast-paced action \
and a dark fantasy style."
HOMEPAGE="http://flarerpg.org"
COPYRIGHT="2010-2013 Clint Bellanger"
LICENSE="GNU GPL v3"
REVISION="4"
SOURCE_URI="http://downloads.sourceforge.net/project/flare-game/Linux/flare.0.19.tar.gz"
CHECKSUM_SHA256="c96995fff6b71d44ddeae611b1ae4cd35162655f73088000786d03478f0a924e"
SOURCE_DIR="flare.0.19"
PATCHES="flare-0.19.patch"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
flare$secondaryArchSuffix = $portVersion
app:Flare$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_ttf$secondaryArchSuffix
flare_data
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:sdl_mixer$secondaryArchSuffix
devel:sdl_image$secondaryArchSuffix
devel:sdl_ttf$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:cmake
cmd:gcc$secondaryArchSuffix
"
USER_SETTINGS_FILES="
settings/flare
"
BUILD()
{
cmake .
make $jobArgs
addResourcesToBinaries distribution/flare.rdef flare
}
INSTALL()
{
mkdir -p $appsDir
cp flare $appsDir
addAppDeskbarSymlink $appsDir/flare "Flare"
}