From 289c2fd83e8c5e7efe74a0b40b48ab41a471d25d Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 18:30:35 +0100 Subject: [PATCH] games-engines/solarus: initial import of version 1.4.5 --- .../solarus/solarus-1.4.5.exheres-0 | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packages/games-engines/solarus/solarus-1.4.5.exheres-0 diff --git a/packages/games-engines/solarus/solarus-1.4.5.exheres-0 b/packages/games-engines/solarus/solarus-1.4.5.exheres-0 new file mode 100644 index 00000000..21b1f9fc --- /dev/null +++ b/packages/games-engines/solarus/solarus-1.4.5.exheres-0 @@ -0,0 +1,35 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require cmake + +SUMMARY="An open-source Zelda-like 2D game engine" +HOMEPAGE="http://www.solarus-games.org/" +DOWNLOADS="http://www.solarus-games.org/downloads/solarus/${PNV}-src.tar.gz" + +LICENCES="GPL-3" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + build+run: + dev-games/physfs + dev-lang/lua:5.1 + media-libs/libmodplug + media-libs/libvorbis + media-libs/openal + media-libs/SDL:2[X] + media-libs/SDL_image:2 + media-libs/SDL_ttf:2 +" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DSOLARUS_INSTALL_DESTINATION="/usr/$(exhost --target)/bin" + -DSOLARUS_USE_LUAJIT=OFF +) + +src_install() { + cmake_src_install + doman solarus.6 +} +