summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-03-18 01:05:59 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-03-18 01:05:59 +0000
commit9a30ab5622d7df0e50b9fdb6d41b7f837035c339 (patch)
treee4f28bfc4bb4b1d1c8b63284c154559881911879 /games-strategy/scorched3d
parentNew version for GNOME-2.22. Adds application state persistence via gconf and ... (diff)
downloadgentoo-2-9a30ab5622d7df0e50b9fdb6d41b7f837035c339.tar.gz
gentoo-2-9a30ab5622d7df0e50b9fdb6d41b7f837035c339.tar.bz2
gentoo-2-9a30ab5622d7df0e50b9fdb6d41b7f837035c339.zip
Use wxGTK 2.8 instead of 2.6
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-strategy/scorched3d')
-rw-r--r--games-strategy/scorched3d/ChangeLog7
-rw-r--r--games-strategy/scorched3d/scorched3d-41.3-r1.ebuild64
2 files changed, 70 insertions, 1 deletions
diff --git a/games-strategy/scorched3d/ChangeLog b/games-strategy/scorched3d/ChangeLog
index 1324cc7e118a..99d07613b76a 100644
--- a/games-strategy/scorched3d/ChangeLog
+++ b/games-strategy/scorched3d/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/scorched3d
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.50 2008/01/21 05:52:04 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.51 2008/03/18 01:05:59 nyhm Exp $
+
+*scorched3d-41.3-r1 (18 Mar 2008)
+
+ 18 Mar 2008; Tristan Heaven <nyhm@gentoo.org> +scorched3d-41.3-r1.ebuild:
+ Use wxGTK 2.8 instead of 2.6
*scorched3d-41.3 (21 Jan 2008)
diff --git a/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild b/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild
new file mode 100644
index 000000000000..2bbeab797880
--- /dev/null
+++ b/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild,v 1.1 2008/03/18 01:05:59 nyhm Exp $
+
+inherit eutils wxwidgets games
+
+DESCRIPTION="Multi-player tank battle in 3D (OpenGL)"
+HOMEPAGE="http://www.scorched3d.co.uk/"
+SRC_URI="mirror://sourceforge/${PN}/Scorched3D-${PV}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="dedicated mysql"
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-net
+ media-libs/libpng
+ media-libs/jpeg
+ !dedicated? (
+ virtual/opengl
+ virtual/glu
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/freealut
+ =x11-libs/wxGTK-2.8*
+ >=media-libs/freetype-2
+ >=sci-libs/fftw-3
+ )
+ mysql? ( virtual/mysql )"
+
+S=${WORKDIR}/scorched
+
+pkg_setup() {
+ games_pkg_setup
+ if ! use dedicated ; then
+ WX_GTK_VER="2.8" need-wxwidgets unicode
+ fi
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-fftw=/usr \
+ --with-ogg=/usr \
+ --with-vorbis=/usr \
+ --datadir="${GAMES_DATADIR}/${PN}" \
+ --with-docdir="/usr/share/doc/${PF}" \
+ --with-wx-config="${WX_CONFIG}" \
+ $(use_with mysql) \
+ $(use_enable dedicated serveronly) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ if ! use dedicated ; then
+ newicon data/windows/tank.bmp ${PN}.bmp
+ make_desktop_entry ${PN} "Scorched 3D" /usr/share/pixmaps/${PN}.bmp
+ fi
+ prepgamesdirs
+}