From dce4691b54fb4bc1c539ae1b865fa32a6a2ef15e Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 31 Dec 2013 13:07:54 -0600 Subject: [PATCH] solarus: Add WIP recipe * Shows missing sdl_image on my system even though sdl_image is activated * Marked broken on all architectures for now --- games-engines/solarus/solarus-1.1.1.recipe | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 games-engines/solarus/solarus-1.1.1.recipe diff --git a/games-engines/solarus/solarus-1.1.1.recipe b/games-engines/solarus/solarus-1.1.1.recipe new file mode 100644 index 000000000..c28a3152c --- /dev/null +++ b/games-engines/solarus/solarus-1.1.1.recipe @@ -0,0 +1,57 @@ +SUMMARY="An ARPG game engine" +DESCRIPTION="Solarus is an open-source Zelda-like 2D game engine." +HOMEPAGE="http://solarus-games.org" +SRC_URI="http://www.solarus-games.org/downloads/solarus/solarus-1.1.1-src.tar.gz" +CHECKSUM_MD5="168894091ce4b728889069c767a1532d" +REVISION="1" +LICENSE="GNU GPL v3" +COPYRIGHT="2006-2013 Christopho, Solarus" + +ARCHITECTURES="!x86_gcc2 !x86 !x86_64" +SECONDARY_ARCHITECTURES="!x86 !x86_64" + +PROVIDES=" + solarus = $portVersion + app:solarus = $portVersion +" +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libSDL$secondaryArchSuffix + lib:sdl_ttf$secondaryArchSuffix + lib:sdl_image$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix + lib:libmodplug$secondaryArchSuffix >= 0.8.0 + lib:libphysfs$secondaryArchSuffix + lib:liblua$secondaryArchSuffix + lib:libopenal$secondaryArchSuffix +" +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libSDL$secondaryArchSuffix + devel:sdl_ttf$secondaryArchSuffix + devel:sdl_image$secondaryArchSuffix + devel:libvorbis$secondaryArchSuffix + devel:libmodplug$secondaryArchSuffix >= 0.8.0 + devel:libphysfs$secondaryArchSuffix + devel:liblua$secondaryArchSuffix + devel:libopenal$secondaryArchSuffix +" +BUILD_PREREQUIRES=" + cmd:cmake + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize +" + +BUILD() +{ + cmake -DCMAKE_BUILD_TYPE=Release . + make $jobArgs +} + +INSTALL() +{ + make install + #addAppDeskbarSymlink $binDir/solarus +}