diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-29 06:40:37 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-29 06:40:37 +0000 |
commit | 1a5433c25da75f010db24fea274a9f4bf497b545 (patch) | |
tree | 98eaf80d4aff060a68093b74ffac404ce8a79f02 /games-engines | |
parent | add opengl use dep; fix SDL header include (diff) | |
download | gentoo-2-1a5433c25da75f010db24fea274a9f4bf497b545.tar.gz gentoo-2-1a5433c25da75f010db24fea274a9f4bf497b545.tar.bz2 gentoo-2-1a5433c25da75f010db24fea274a9f4bf497b545.zip |
version bump (bug #346871)
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/stratagus/ChangeLog | 10 | ||||
-rw-r--r-- | games-engines/stratagus/stratagus-2.2.4.ebuild | 6 | ||||
-rw-r--r-- | games-engines/stratagus/stratagus-2.2.5.5.ebuild | 61 |
3 files changed, 72 insertions, 5 deletions
diff --git a/games-engines/stratagus/ChangeLog b/games-engines/stratagus/ChangeLog index b2aa789bba63..c9acfecb1fb3 100644 --- a/games-engines/stratagus/ChangeLog +++ b/games-engines/stratagus/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-engines/stratagus -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.18 2009/08/11 06:15:01 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/ChangeLog,v 1.19 2010/11/29 06:40:37 mr_bones_ Exp $ + +*stratagus-2.2.5.5 (29 Nov 2010) + + 29 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org> + stratagus-2.2.4.ebuild, +stratagus-2.2.5.5.ebuild: + version bump (bug #346871) 11 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> stratagus-2.2.4.ebuild, +files/stratagus-2.2.4-gcc44.patch: diff --git a/games-engines/stratagus/stratagus-2.2.4.ebuild b/games-engines/stratagus/stratagus-2.2.4.ebuild index dc408ea9bca0..fcf072837ba9 100644 --- a/games-engines/stratagus/stratagus-2.2.4.ebuild +++ b/games-engines/stratagus/stratagus-2.2.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.2.4.ebuild,v 1.3 2009/08/11 06:15:01 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.2.4.ebuild,v 1.4 2010/11/29 06:40:37 mr_bones_ Exp $ inherit eutils games DESCRIPTION="A realtime strategy game engine" -HOMEPAGE="http://www.stratagus.org/" +HOMEPAGE="http://stratagus.sourceforge.net/" SRC_URI="mirror://sourceforge/stratagus/${P}-src.tar.gz" LICENSE="GPL-2" diff --git a/games-engines/stratagus/stratagus-2.2.5.5.ebuild b/games-engines/stratagus/stratagus-2.2.5.5.ebuild new file mode 100644 index 000000000000..7789361dfd64 --- /dev/null +++ b/games-engines/stratagus/stratagus-2.2.5.5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/stratagus/stratagus-2.2.5.5.ebuild,v 1.1 2010/11/29 06:40:37 mr_bones_ Exp $ + +EAPI=2 +inherit autotools games + +DESCRIPTION="A realtime strategy game engine" +HOMEPAGE="http://stratagus.sourceforge.net/" +SRC_URI="http://launchpad.net/stratagus/trunk/${PV}/+download/stratagus_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="bzip2 debug doc mikmod mng theora vorbis" + +RDEPEND="x11-libs/libX11 + virtual/opengl + >=dev-lang/lua-5 + media-libs/libpng + media-libs/libsdl[audio,opengl,video] + bzip2? ( app-arch/bzip2 ) + mikmod? ( media-libs/libmikmod ) + mng? ( media-libs/libmng ) + theora? ( media-libs/libtheora ) + vorbis? ( media-libs/libvorbis )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + sed -i \ + -e 's/-O.*\(-fsigned-char\).*/\1"/' \ + configure.in \ + || die "sed failed" + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_with bzip2) \ + $(use_with mikmod) \ + $(use_with mng) \ + $(use_with theora) \ + $(use_with vorbis) +} +src_compile() { + emake || die + + if use doc ; then + emake doc || die + fi +} + +src_install() { + dogamesbin stratagus || die "dogamesbin failed" + dodoc README + dohtml -r doc/* + use doc && dohtml -r srcdoc/html/* + prepgamesdirs +} |