1SUMMARY="A hand-drawn point'n'click-like 2D adventure game"
2DESCRIPTION="A horde of Zombies chased you to the old radio tower. Your only chance is to ascend \
3up through the tower - solving a host of puzzles on your way to your rescue."
4HOMEPAGE="https://github.com/Larpon/DeadAscend"
5COPYRIGHT="2015-2017 Lars Pontoppidan"
6LICENSE="MIT"
7REVISION="2"
8SOURCE_URI="https://github.com/Larpon/DeadAscend/archive/v1.1.0.tar.gz"
9CHECKSUM_SHA256="36aa70520dce597d72f1c0bb3ed3c96128f9cc244af802524d2d35c91ccebffe"
10SOURCE_DIR="DeadAscend-1.1.0"
11SOURCE_URI_2="https://github.com/Larpon/qak/archive/v1.4.0.tar.gz"
12CHECKSUM_SHA256_2="abb2db0550d0a89b3f09512600d5e724cd12da63ed2a8a64130170c068bc0a29"
13SOURCE_URI_3="https://github.com/Larpon/QtFirebase/archive/v1.3.3.tar.gz"
14CHECKSUM_SHA256_3="cf723f0391659c10237f284de9833f61e7ac6c827a038a9b0796ffae7704a18a"
15PATCHES="dead_ascend-$portVersion.patchset"
16
17ARCHITECTURES="?all !x86_gcc2"
18SECONDARY_ARCHITECTURES="x86"
19
20PROVIDES="
21	dead_ascend$secondaryArchSuffix = $portVersion
22	"
23REQUIRES="
24	haiku$secondaryArchSuffix
25	lib:libgl$secondaryArchSuffix
26	lib:libqt5core$secondaryArchSuffix
27	lib:libqt5gui$secondaryArchSuffix
28	lib:libqt5multimedia$secondaryArchSuffix
29	lib:libqt5network$secondaryArchSuffix
30	lib:libqt5qml$secondaryArchSuffix
31	lib:libqt5quick$secondaryArchSuffix
32	lib:libqt5widgets$secondaryArchSuffix
33	"
34
35BUILD_REQUIRES="
36	haiku${secondaryArchSuffix}_devel
37	devel:libqt5core$secondaryArchSuffix
38	"
39BUILD_PREREQUIRES="
40	cmd:gcc$secondaryArchSuffix
41	cmd:make
42	cmd:qmake$secondaryArchSuffix >= 5
43	"
44
45BUILD()
46{
47	rm -f extensions/qak
48	rm -f extensions/QtFireBase
49	ln -sf ../../../sources-2/qak* extensions/qak
50	ln -sf ../../../sources-3/QtFirebase* extensions/QtFirebase
51	qmake
52	make $jobArgs
53}
54
55INSTALL()
56{
57	mkdir $appsDir
58	cp App/App $appsDir/Dead\ Ascent
59}
60