public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-engines/solarus/
@ 2016-10-28 17:35 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-10-28 17:35 UTC (permalink / raw
  To: gentoo-commits

commit:     92ded880b93a3185302787da265a65ae318124e9
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 17:30:11 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 17:35:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92ded880

games-engines/solarus: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.2

 games-engines/solarus/solarus-1.3.1-r1.ebuild | 55 +++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/games-engines/solarus/solarus-1.3.1-r1.ebuild b/games-engines/solarus/solarus-1.3.1-r1.ebuild
new file mode 100644
index 00000000..e06034c
--- /dev/null
+++ b/games-engines/solarus/solarus-1.3.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+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:0 )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen )"
+
+src_prepare() {
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSOLARUS_INSTALL_DESTINATION="/usr/bin"
+		-DSOLARUS_USE_LUAJIT="$(usex 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 && dodoc -r doc/${PV%.*}/html/*
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-28 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 17:35 [gentoo-commits] repo/gentoo:master commit in: games-engines/solarus/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox