Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
| Navigation: |
|
Lists:
gentoo-commits:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
gentoo-commits@g.o
|
|
From:
|
"Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
|
|
Subject:
|
gentoo-x86 commit in games-simulation/cannonsmash: ChangeLog cannonsmash-0.6.6.ebuild
|
|
Date:
|
Wed, 04 Nov 2009 06:29:40 +0000
|
|
mr_bones_ 09/11/04 06:29:40
Modified: ChangeLog cannonsmash-0.6.6.ebuild
Log:
EAPI=2
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.19 games-simulation/cannonsmash/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/cannonsmash/ChangeLog?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/cannonsmash/ChangeLog?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/cannonsmash/ChangeLog?r1=1.18&r2=1.19
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog 8 Apr 2008 01:38:29 -0000 1.18
+++ ChangeLog 4 Nov 2009 06:29:39 -0000 1.19
@@ -1,6 +1,10 @@
# ChangeLog for games-simulation/cannonsmash
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/ChangeLog,v 1.18 2008/04/08 01:38:29 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/ChangeLog,v 1.19 2009/11/04 06:29:39 mr_bones_ Exp $
+
+ 04 Nov 2009; Michael Sterrett <mr_bones_@g.o>
+ cannonsmash-0.6.6.ebuild:
+ EAPI=2
08 Apr 2008; Michael Sterrett <mr_bones_@g.o>
cannonsmash-0.6.6.ebuild:
1.15 games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild?r1=1.14&r2=1.15
Index: cannonsmash-0.6.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- cannonsmash-0.6.6.ebuild 8 Apr 2008 01:38:29 -0000 1.14
+++ cannonsmash-0.6.6.ebuild 4 Nov 2009 06:29:39 -0000 1.15
@@ -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-simulation/cannonsmash/cannonsmash-0.6.6.ebuild,v 1.14 2008/04/08 01:38:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild,v 1.15 2009/11/04 06:29:39 mr_bones_ Exp $
+EAPI=2
inherit eutils games
MY_OGG=danslatristesse2-48.ogg
@@ -17,10 +18,10 @@
RDEPEND="virtual/opengl
virtual/glu
- media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image
- =x11-libs/gtk+-2*
+ media-libs/libsdl[audio,video]
+ media-libs/sdl-mixer[vorbis?]
+ media-libs/sdl-image[jpeg,png]
+ x11-libs/gtk+:2
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
@@ -30,7 +31,9 @@
src_unpack() {
unpack csmash-${PV}.tar.gz
- cd "${S}"
+}
+
+src_prepare() {
epatch \
"${FILESDIR}"/${P}-x-inc.patch \
"${FILESDIR}"/${P}-sizeof-cast.patch \
@@ -42,11 +45,13 @@
fi
}
-src_compile() {
+src_configure() {
egamesconf \
$(use_enable nls) \
- --datadir="${GAMES_DATADIR_BASE}" \
- || die
+ --datadir="${GAMES_DATADIR_BASE}"
+}
+
+src_compile() {
emake \
localedir="/usr/share" \
|| die "emake failed"
|
|