summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-03-21 10:32:52 +0000
committerTristan Heaven <tristan@gentoo.org>2008-03-21 10:32:52 +0000
commitd462a39ffffb814db1ebd0ba1b7d70471f313c9f (patch)
tree6ff1ad20d41b88e0478273d4bd2d7181b6c5aa30 /games-strategy/warzone2100
parentamd64/x86 stable, security bug #213766 (diff)
downloadhistorical-d462a39ffffb814db1ebd0ba1b7d70471f313c9f.tar.gz
historical-d462a39ffffb814db1ebd0ba1b7d70471f313c9f.tar.bz2
historical-d462a39ffffb814db1ebd0ba1b7d70471f313c9f.zip
Version bump, bug #211892
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-strategy/warzone2100')
-rw-r--r--games-strategy/warzone2100/ChangeLog11
-rw-r--r--games-strategy/warzone2100/Manifest15
-rw-r--r--games-strategy/warzone2100/files/warzone2100-2.1_beta2-encoding.patch11
-rw-r--r--games-strategy/warzone2100/warzone2100-2.1_beta2.ebuild62
4 files changed, 96 insertions, 3 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/Manifest b/games-strategy/warzone2100/Manifest
index 966c8d7b47ae..01fc114b9db0 100644
--- a/games-strategy/warzone2100/Manifest
+++ b/games-strategy/warzone2100/Manifest
@@ -1,4 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX warzone2100-2.1_beta2-encoding.patch 338 RMD160 a3f252f08a9532f2b34014bcc0bb640a5e19c68e SHA1 d7f0911642e633e7d4133030c06b353f71ec2aac SHA256 cfafef6816b6aff18f66c740576395a2ce9c9ce51164b903321d035383bcbb63
DIST warzone2100-2.0.10.tar.bz2 13304863 RMD160 cf3d6af9d6162ddf39057b95bff6cf682eea94d0 SHA1 8a9bc8e3fc70f81dafeb798b88a88d1b7feff38f SHA256 a70d53173b49d31ab8b730a82d2b0127a9fb23eb6da1cdc6e38c8dbfecaa207a
+DIST warzone2100-2.1_beta2.tar.bz2 34709173 RMD160 f9c363151b1fc08a85b4dd89254bbd0ba5a0f899 SHA1 6020be760e0c5df7ec15a723d9e2b5dcb1af8572 SHA256 3f06a33ea269a77f7770ef9bb23ddc075b1246cdf20b68f87b3eed63938ee5ec
EBUILD warzone2100-2.0.10.ebuild 1405 RMD160 7b19a79c2f5860fc246bf6e2fa40e2eb6ac98de3 SHA1 c36bad2351865fe63f2c18a3d697f90faf5181b2 SHA256 efe956ee073e03ead36853c832321261b927621c656fd723285d43fc5318ad71
-MISC ChangeLog 3268 RMD160 bf9d92302a9f57603ec7648572b33be4840f3a04 SHA1 6174d9b5b4cdd52c241613ee90caeb028018e724 SHA256 5fd05db5efbf6d74d15c61b970c900568abeb485e9c77ea28b4b767d40f10033
+EBUILD warzone2100-2.1_beta2.ebuild 1495 RMD160 743b5b9def0b9a95287dc432d2a273c2d4c1bfa9 SHA1 acd75f0951e41580ca0488ad29d2b4cc60580e7d SHA256 324d11242133cb8a0d029cdfa351447f424eb6e918a9097254c6086ce9cf64c6
+MISC ChangeLog 3463 RMD160 134cc8c985aa1a93e3a158477f818a7699b01026 SHA1 08890984f1d45bdff931ad490749a6d233198d23 SHA256 2b4d0ba2a8024d4636f9da2d82964d68fcdbaaa06a09f8cc6310ce9ff434c5b3
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFH447adz7hIScOURERAuRgAJsGP+b6IwLGVwSySW+XBuYuY1FrLACgkyPZ
+AxsL/QIkj/EHSry8K6GH1Gw=
+=rdiH
+-----END PGP SIGNATURE-----
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
+}