mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
83 lines
2.3 KiB
Bash
83 lines
2.3 KiB
Bash
SUMMARY="An ARPG game engine"
|
|
DESCRIPTION="A lightweight, free and open-source game engine for Action-RPGs
|
|
|
|
* A 2D game engine written in C++, and executing games made in Lua.
|
|
* Specifically designed with 16-bit classic Action-RPGs in mind.
|
|
* Available on multiple platforms.
|
|
* Completely free and open-source, under GPL v3 License."
|
|
HOMEPAGE="http://solarus-games.org"
|
|
COPYRIGHT="2006-2018 Christopho, Solarus"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.solarus-games.org/downloads/solarus/solarus-${portVersion}-src.tar.gz"
|
|
CHECKSUM_SHA256="d800fdf388f860732f2d40c8dd635c34fd1c452857f75bf9b3a421e3ef5ee751"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
solarus$secondaryArchSuffix = $portVersion
|
|
cmd:solarus = $portVersion
|
|
cmd:solarus_launcher = $portVersion
|
|
cmd:solarus_run = $portVersion
|
|
lib:libsolarus$secondaryArchSuffix
|
|
lib:libsolarus_gui$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libluajit_5.1$secondaryArchSuffix
|
|
lib:libmodplug$secondaryArchSuffix >= 1.0
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libopenal$secondaryArchSuffix
|
|
lib:libphysfs$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
lib:libSDL2_image_2.0$secondaryArchSuffix
|
|
lib:libSDL2_ttf_2.0$secondaryArchSuffix
|
|
lib:libvorbis$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libluajit_5.1$secondaryArchSuffix
|
|
devel:libmodplug$secondaryArchSuffix >= 1.0
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libopenal$secondaryArchSuffix
|
|
devel:libphysfs$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
devel:libSDL2_image_2.0$secondaryArchSuffix
|
|
devel:libSDL2_ttf_2.0$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:lrelease$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -DCMAKE_INSTALL_PREFIX="$prefix" \
|
|
-DCMAKE_BUILD_TYPE=Release .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $(dirname $includeDir)
|
|
mv $prefix/include $includeDir
|
|
|
|
rm -rf $prefix/share
|
|
}
|