summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-07-22 03:02:05 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-07-22 03:02:05 +0000
commite2907a2024e83611eca9b0c5c0eeec15f6d7c863 (patch)
tree6d51207b4fae8c106d74b4e2a639ccd9a5afd9af /games-strategy/warzone2100
parentVersion bump (diff)
downloadgentoo-2-e2907a2024e83611eca9b0c5c0eeec15f6d7c863.tar.gz
gentoo-2-e2907a2024e83611eca9b0c5c0eeec15f6d7c863.tar.bz2
gentoo-2-e2907a2024e83611eca9b0c5c0eeec15f6d7c863.zip
Make changes requested from upstream
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'games-strategy/warzone2100')
-rw-r--r--games-strategy/warzone2100/ChangeLog6
-rw-r--r--games-strategy/warzone2100/warzone2100-2.0.3.ebuild15
2 files changed, 12 insertions, 9 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog
index d0ec0c263264..8db4c9ba05f0 100644
--- a/games-strategy/warzone2100/ChangeLog
+++ b/games-strategy/warzone2100/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/warzone2100
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.7 2006/07/20 21:57:50 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.8 2006/07/22 03:02:05 mr_bones_ Exp $
+
+ 22 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ warzone2100-2.0.3.ebuild:
+ Make changes requested from upstream
20 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org>
-files/0.2.2-clparse.c.patch, -files/warzone2100-0.2.2-headers.patch,
diff --git a/games-strategy/warzone2100/warzone2100-2.0.3.ebuild b/games-strategy/warzone2100/warzone2100-2.0.3.ebuild
index 4c84060f42c1..8271803f3061 100644
--- a/games-strategy/warzone2100/warzone2100-2.0.3.ebuild
+++ b/games-strategy/warzone2100/warzone2100-2.0.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.3.ebuild,v 1.2 2006/07/20 21:57:50 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.3.ebuild,v 1.3 2006/07/22 03:02:05 mr_bones_ Exp $
-inherit eutils versionator games
+inherit debug eutils versionator games
MY_PV="$(get_version_component_range -2 ${PV})"
DESCRIPTION="3D real-time strategy game"
@@ -12,9 +12,11 @@ SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/warzone-${PV}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+# upstream requested debug support
+IUSE="debug mp3"
RDEPEND="dev-games/physfs
+ mp3? ( >=media-libs/libmad-0.15 )
media-libs/jpeg
media-libs/libogg
media-libs/libpng
@@ -33,10 +35,6 @@ src_unpack() {
unpack ${A}
cd "${S}"
- sed -i \
- -e 's/-m32 //' \
- configure \
- || die "sed failed"
epatch "${FILESDIR}/${P}-16bpp.patch"
}
@@ -44,7 +42,8 @@ src_compile() {
egamesconf \
--disable-dependency-tracking \
--with-ogg \
- --without-mp3 \
+ $(use_with mp3) \
+ $(use_enable debug) \
|| die "egamesconf failed"
emake || die "emake failed"