summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-09 16:15:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-09 16:15:10 +0000
commitb2e709a9e023333d4d058679aa22cdb890b3bc3f (patch)
tree1409ac871e81a026a4ca94f844c01fc43e478461 /games-arcade
parentkeyworded ~arch for sparc, bug 253667 (diff)
downloadgentoo-2-b2e709a9e023333d4d058679aa22cdb890b3bc3f.tar.gz
gentoo-2-b2e709a9e023333d4d058679aa22cdb890b3bc3f.tar.bz2
gentoo-2-b2e709a9e023333d4d058679aa22cdb890b3bc3f.zip
EAPI=2; add use-based deps
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/diameter/ChangeLog8
-rw-r--r--games-arcade/diameter/diameter-0.4.0.3.ebuild20
2 files changed, 12 insertions, 16 deletions
diff --git a/games-arcade/diameter/ChangeLog b/games-arcade/diameter/ChangeLog
index 0767e6229f91..8c589dcfdabe 100644
--- a/games-arcade/diameter/ChangeLog
+++ b/games-arcade/diameter/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/diameter
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/diameter/ChangeLog,v 1.3 2008/09/06 00:11:47 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/diameter/ChangeLog,v 1.4 2009/01/09 16:15:10 mr_bones_ Exp $
+
+ 09 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ diameter-0.4.0.3.ebuild:
+ EAPI=2; add use-based deps
*diameter-0.4.0.3 (06 Sep 2008)
diff --git a/games-arcade/diameter/diameter-0.4.0.3.ebuild b/games-arcade/diameter/diameter-0.4.0.3.ebuild
index 6e968ce2d2ed..2e6c798df134 100644
--- a/games-arcade/diameter/diameter-0.4.0.3.ebuild
+++ b/games-arcade/diameter/diameter-0.4.0.3.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/diameter/diameter-0.4.0.3.ebuild,v 1.1 2008/09/06 00:11:47 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/diameter/diameter-0.4.0.3.ebuild,v 1.2 2009/01/09 16:15:10 mr_bones_ Exp $
+EAPI=2
inherit eutils autotools games
DESCRIPTION="Arcade game with elements of economy and adventure"
@@ -13,28 +14,19 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=dev-games/guichan-0.8
+RDEPEND=">=dev-games/guichan-0.8[opengl,sdl]
media-libs/libpng
virtual/opengl
virtual/glu
media-libs/libsdl
- media-libs/sdl-image
+ media-libs/sdl-image[gif,jpeg,png]
media-libs/sdl-mixer"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/gamediameter
-pkg_setup() {
- if ! built_with_use dev-games/guichan opengl sdl; then
- die "dev-games/guichan built without USE=\"opengl sdl\""
- fi
- games_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e "s:gamediameter:diameter:" \
configure.in \