diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-03-21 10:32:52 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-03-21 10:32:52 +0000 |
commit | 381c9fd59e7499e4a1bdbd5ae7ae9ecb2346db5f (patch) | |
tree | 5020b4c7b32f888814fe61487cea9639d400ee7c /games-strategy | |
parent | amd64/x86 stable, security bug #213766 (diff) | |
download | gentoo-2-381c9fd59e7499e4a1bdbd5ae7ae9ecb2346db5f.tar.gz gentoo-2-381c9fd59e7499e4a1bdbd5ae7ae9ecb2346db5f.tar.bz2 gentoo-2-381c9fd59e7499e4a1bdbd5ae7ae9ecb2346db5f.zip |
Version bump, bug #211892
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/warzone2100/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/warzone2100/files/warzone2100-2.1_beta2-encoding.patch | 11 | ||||
-rw-r--r-- | games-strategy/warzone2100/warzone2100-2.1_beta2.ebuild | 62 |
3 files changed, 82 insertions, 2 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog index 1e0bb843e331..f1eb158707e2 100644 --- a/games-strategy/warzone2100/ChangeLog +++ b/games-strategy/warzone2100/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-strategy/warzone2100 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.18 2007/12/30 01:38:12 nyhm Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.19 2008/03/21 10:32:52 nyhm Exp $ + +*warzone2100-2.1_beta2 (21 Mar 2008) + + 21 Mar 2008; Tristan Heaven <nyhm@gentoo.org> + +files/warzone2100-2.1_beta2-encoding.patch, + +warzone2100-2.1_beta2.ebuild: + Version bump, bug #211892 *warzone2100-2.0.10 (30 Dec 2007) diff --git a/games-strategy/warzone2100/files/warzone2100-2.1_beta2-encoding.patch b/games-strategy/warzone2100/files/warzone2100-2.1_beta2-encoding.patch new file mode 100644 index 000000000000..2dba187189ff --- /dev/null +++ b/games-strategy/warzone2100/files/warzone2100-2.1_beta2-encoding.patch @@ -0,0 +1,11 @@ +Index: lib/framework/i18n.c +=================================================================== +--- lib/framework/i18n.c (revision 4126) ++++ lib/framework/i18n.c (revision 4127) +@@ -99,5 +99,6 @@ + #else + (void)bindtextdomain(PACKAGE, LOCALEDIR); + #endif ++ (void)bind_textdomain_codeset(PACKAGE, "UTF-8"); + (void)textdomain(PACKAGE); + } diff --git a/games-strategy/warzone2100/warzone2100-2.1_beta2.ebuild b/games-strategy/warzone2100/warzone2100-2.1_beta2.ebuild new file mode 100644 index 000000000000..174290df3a40 --- /dev/null +++ b/games-strategy/warzone2100/warzone2100-2.1_beta2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.1_beta2.ebuild,v 1.1 2008/03/21 10:32:52 nyhm Exp $ + +inherit eutils versionator games + +MY_PV=$(get_version_component_range -2) +DESCRIPTION="3D real-time strategy game" +HOMEPAGE="http://wz2100.net/" +SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +# upstream requested debug support +IUSE="debug nls" + +RDEPEND="dev-games/physfs + dev-libs/popt + media-libs/jpeg + media-libs/libogg + media-libs/libpng + media-libs/libsdl + media-libs/libvorbis + media-libs/openal + media-libs/sdl-net + media-libs/quesoglc + virtual/glu + virtual/opengl + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + app-arch/zip + nls? ( sys-devel/gettext )" +RDEPEND="${RDEPEND} + media-fonts/dejavu" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-encoding.patch +} + +src_compile() { + egamesconf \ + --disable-dependency-tracking \ + --docdir=/usr/share/doc/${PF} \ + --localedir=/usr/share/locale \ + --with-distributor="Gentoo ${PF}" \ + --with-icondir=/usr/share/pixmaps \ + --with-applicationdir=/usr/share/applications \ + $(use_enable debug) \ + $(use_enable nls) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + rm -f "${D}"/usr/share/doc/${PF}/COPYING + prepalldocs + prepgamesdirs +} |