summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-08-24 15:44:26 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-08-24 15:44:26 +0000
commit79c6594c2d213be4379f2ac2c1f6baff46c82e89 (patch)
tree322983f1eee81a02fcccaa3c81a32c317211632a /games-engines/solarus
parentRestrict old copy of ImageMagick to old copy of OpenJPEG. (diff)
downloadgentoo-2-79c6594c2d213be4379f2ac2c1f6baff46c82e89.tar.gz
gentoo-2-79c6594c2d213be4379f2ac2c1f6baff46c82e89.tar.bz2
gentoo-2-79c6594c2d213be4379f2ac2c1f6baff46c82e89.zip
version bump
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-engines/solarus')
-rw-r--r--games-engines/solarus/ChangeLog7
-rw-r--r--games-engines/solarus/solarus-1.3.0.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/games-engines/solarus/ChangeLog b/games-engines/solarus/ChangeLog
index d7e486a6b307..08c296c3c26e 100644
--- a/games-engines/solarus/ChangeLog
+++ b/games-engines/solarus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-engines/solarus
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/solarus/ChangeLog,v 1.3 2014/08/07 21:01:19 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/solarus/ChangeLog,v 1.4 2014/08/24 15:44:26 hasufell Exp $
+
+*solarus-1.3.0 (24 Aug 2014)
+
+ 24 Aug 2014; Julian Ospald <hasufell@gentoo.org> +solarus-1.3.0.ebuild:
+ version bump
*solarus-1.2.1 (07 Aug 2014)
diff --git a/games-engines/solarus/solarus-1.3.0.ebuild b/games-engines/solarus/solarus-1.3.0.ebuild
new file mode 100644
index 000000000000..a7c8f2f8364a
--- /dev/null
+++ b/games-engines/solarus/solarus-1.3.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/solarus/solarus-1.3.0.ebuild,v 1.1 2014/08/24 15:44:26 hasufell Exp $
+
+EAPI=5
+
+inherit cmake-utils games
+
+DESCRIPTION="An open-source Zelda-like 2D game engine"
+HOMEPAGE="http://www.solarus-games.org/"
+SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc luajit"
+
+RDEPEND="
+ dev-games/physfs
+ media-libs/libmodplug
+ >=media-libs/libsdl2-2.0.1[X,joystick,video]
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl2-image[png]
+ >=media-libs/sdl2-ttf-2.0.12
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSOLARUS_INSTALL_DESTINATION="${GAMES_BINDIR}"
+ $(cmake-utils_use luajit SOLARUS_USE_LUAJIT)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc ; then
+ cd doc || die
+ doxygen || die
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+ doman solarus.6
+ use doc && dohtml -r doc/${PV%.*}/html/*
+ prepgamesdirs
+}