0
0
Fork 0
haikuports/games-rpg/dead_ascend/dead_ascend-1.1.0.recipe

60 lines
1.8 KiB
Bash

SUMMARY="A hand-drawn point'n'click-like 2D adventure game"
DESCRIPTION="A horde of Zombies chased you to the old radio tower. Your only chance is to ascend \
up through the tower - solving a host of puzzles on your way to your rescue."
HOMEPAGE="https://github.com/Larpon/DeadAscend"
COPYRIGHT="2015-2017 Lars Pontoppidan"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/Larpon/DeadAscend/archive/v1.1.0.tar.gz"
CHECKSUM_SHA256="36aa70520dce597d72f1c0bb3ed3c96128f9cc244af802524d2d35c91ccebffe"
SOURCE_DIR="DeadAscend-1.1.0"
SOURCE_URI_2="https://github.com/Larpon/qak/archive/v1.4.0.tar.gz"
CHECKSUM_SHA256_2="abb2db0550d0a89b3f09512600d5e724cd12da63ed2a8a64130170c068bc0a29"
SOURCE_URI_3="https://github.com/Larpon/QtFirebase/archive/v1.3.3.tar.gz"
CHECKSUM_SHA256_3="cf723f0391659c10237f284de9833f61e7ac6c827a038a9b0796ffae7704a18a"
PATCHES="dead_ascend-$portVersion.patchset"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
dead_ascend$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libqt5core$secondaryArchSuffix
lib:libqt5gui$secondaryArchSuffix
lib:libqt5multimedia$secondaryArchSuffix
lib:libqt5network$secondaryArchSuffix
lib:libqt5qml$secondaryArchSuffix
lib:libqt5quick$secondaryArchSuffix
lib:libqt5widgets$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libqt5core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:qmake$secondaryArchSuffix >= 5
"
BUILD()
{
rm -f extensions/qak
rm -f extensions/QtFireBase
ln -sf ../../../sources-2/qak* extensions/qak
ln -sf ../../../sources-3/QtFirebase* extensions/QtFirebase
qmake
make $jobArgs
}
INSTALL()
{
mkdir $appsDir
cp App/App $appsDir/Dead\ Ascent
}