summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-02-15 23:55:38 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-02-15 23:55:38 +0000
commit7b4607cd52eb4c9475cb83c88b7642b4fdd09309 (patch)
tree33851f6164ac8592c6ff8ae0110f9e60b1cdbc56 /games-strategy
parentVersion bump #305275 by tomas charvat. (diff)
downloadgentoo-2-7b4607cd52eb4c9475cb83c88b7642b4fdd09309.tar.gz
gentoo-2-7b4607cd52eb4c9475cb83c88b7642b4fdd09309.tar.bz2
gentoo-2-7b4607cd52eb4c9475cb83c88b7642b4fdd09309.zip
Use wxwidgets.eclass.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/glest/ChangeLog7
-rw-r--r--games-strategy/glest/glest-3.2.2.ebuild16
2 files changed, 16 insertions, 7 deletions
diff --git a/games-strategy/glest/ChangeLog b/games-strategy/glest/ChangeLog
index 8aaa60e19b05..0a53234d0797 100644
--- a/games-strategy/glest/ChangeLog
+++ b/games-strategy/glest/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/glest
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.25 2009/11/02 06:57:09 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.26 2010/02/15 23:55:38 dirtyepic Exp $
+
+ 15 Feb 2010; Ryan Hill <dirtyepic@gentoo.org> glest-3.2.2.ebuild:
+ Use wxwidgets.eclass.
02 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> glest-3.2.2.ebuild:
just past -j from MAKEOPTS (bug #291530)
diff --git a/games-strategy/glest/glest-3.2.2.ebuild b/games-strategy/glest/glest-3.2.2.ebuild
index 1e81912250a5..08f2d9e771bc 100644
--- a/games-strategy/glest/glest-3.2.2.ebuild
+++ b/games-strategy/glest/glest-3.2.2.ebuild
@@ -1,9 +1,9 @@
-# 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-strategy/glest/glest-3.2.2.ebuild,v 1.3 2009/11/02 06:57:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-3.2.2.ebuild,v 1.4 2010/02/15 23:55:38 dirtyepic Exp $
EAPI=2
-inherit eutils games
+inherit eutils games wxwidgets
DESCRIPTION="Cross-platform 3D realtime strategy game"
HOMEPAGE="http://www.glest.org/"
@@ -24,7 +24,7 @@ RDEPEND="media-libs/libsdl[joystick,video]
virtual/glu
dev-lang/lua
x11-libs/libX11
- editor? ( x11-libs/wxGTK )"
+ editor? ( x11-libs/wxGTK:2.8[X] )"
DEPEND="${RDEPEND}
app-arch/unzip
dev-util/ftjam"
@@ -54,7 +54,13 @@ src_prepare() {
}
src_configure() {
- use editor || NOWX="--with-wx-config=disabled_wx"
+ if use editor; then
+ WX_GTK_VER=2.8
+ need-wxwidgets unicode
+ else
+ NOWX="--with-wx-config=disabled_wx"
+ fi
+
egamesconf \
--with-vorbis=/usr \
--with-ogg=/usr \