mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
76 lines
1.9 KiB
Bash
76 lines
1.9 KiB
Bash
SUMMARY="An ARPG game engine"
|
|
DESCRIPTION="
|
|
Solarus is an open-source Zelda-like 2D game engine."
|
|
HOMEPAGE="http://solarus-games.org"
|
|
COPYRIGHT="2006-2017 Christopho, Solarus"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.solarus-games.org/downloads/solarus/solarus-${portVersion}-src.tar.gz"
|
|
CHECKSUM_SHA256="7608f3bdc7baef36e95db5e4fa4c8c5be0a3f436c50c53ab72d70a92aa44cc1c"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
solarus$secondaryArchSuffix = $portVersion
|
|
cmd:solarus = $portVersion
|
|
cmd:solarus_run = $portVersion
|
|
lib:libsolarus$secondaryArchSuffix
|
|
lib:libsolarus_gui$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libSDL2$secondaryArchSuffix
|
|
lib:libSDL2_ttf$secondaryArchSuffix
|
|
lib:libSDL2_image$secondaryArchSuffix
|
|
lib:libvorbis$secondaryArchSuffix
|
|
lib:libmodplug$secondaryArchSuffix >= 1.0
|
|
lib:libphysfs$secondaryArchSuffix
|
|
lib:libluajit_5.1$secondaryArchSuffix
|
|
lib:libopenal$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libSDL2$secondaryArchSuffix
|
|
devel:libSDL2_ttf$secondaryArchSuffix
|
|
devel:libSDL2_image$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libmodplug$secondaryArchSuffix >= 1.0
|
|
devel:libphysfs$secondaryArchSuffix
|
|
devel:libluajit_5.1$secondaryArchSuffix
|
|
devel:libopenal$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
"
|
|
|
|
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
|
|
}
|