summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-11-04 06:29:39 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-11-04 06:29:39 +0000
commitb436d8e1adf9caa6e486a59989c70d546ac8f187 (patch)
treef80a9874565e4e51ec12bc9703887a17998209f6 /games-simulation/cannonsmash
parentVersion bump. Updated all patches, added icon and fix for tcl-8.5 (bug #267558) (diff)
downloadhistorical-b436d8e1adf9caa6e486a59989c70d546ac8f187.tar.gz
historical-b436d8e1adf9caa6e486a59989c70d546ac8f187.tar.bz2
historical-b436d8e1adf9caa6e486a59989c70d546ac8f187.zip
EAPI=2
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-simulation/cannonsmash')
-rw-r--r--games-simulation/cannonsmash/ChangeLog8
-rw-r--r--games-simulation/cannonsmash/Manifest4
-rw-r--r--games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild25
3 files changed, 23 insertions, 14 deletions
diff --git a/games-simulation/cannonsmash/ChangeLog b/games-simulation/cannonsmash/ChangeLog
index ce550b639601..3d625293693b 100644
--- a/games-simulation/cannonsmash/ChangeLog
+++ b/games-simulation/cannonsmash/ChangeLog
@@ -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_@gentoo.org>
+ cannonsmash-0.6.6.ebuild:
+ EAPI=2
08 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
cannonsmash-0.6.6.ebuild:
diff --git a/games-simulation/cannonsmash/Manifest b/games-simulation/cannonsmash/Manifest
index 309f614c28a2..94f2760af7b4 100644
--- a/games-simulation/cannonsmash/Manifest
+++ b/games-simulation/cannonsmash/Manifest
@@ -3,6 +3,6 @@ AUX cannonsmash-0.6.6-sizeof-cast.patch 358 RMD160 e9d53d5d83ad316aacd1a826b229c
AUX cannonsmash-0.6.6-x-inc.patch 305 RMD160 41d3ba81a7b74ddd493b1c0a7ca78931ac9ff897 SHA1 b9c28b35c2f87e9c2d8204b3157496d1efe371c0 SHA256 29a261f5a92764061870fcafc84d4517f6d80249453a4daa2cfdb898833a2b7b
DIST csmash-0.6.6.tar.gz 1989943 RMD160 8378b7e95ab179f67ebb90423a7c2b45144e226b SHA1 1e6bc2bf6f01b9c1d6dbbd40b17a2d95dff3a3e5 SHA256 1be0b27dac46ba891b955bf8f122151baea6ee05b3c29616a09423250cfd9d3d
DIST danslatristesse2-48.ogg 1070787 RMD160 77782fd73b575f0b25b575c0f9c6baa4c9c21872 SHA1 79e25e6999f3dccc90871330f1d992f84d6127a1 SHA256 aab5b276bc55ecad65c4b2e17f11daa6d173fc077e982e42997f10695f070bfe
-EBUILD cannonsmash-0.6.6.ebuild 1599 RMD160 a8efeb893c743d23c5f52f9211325cc07b85480c SHA1 be0d244e057076c69d0d9bc532430d0dd6038dc2 SHA256 b01811a4bf31e1fdcd8be984b817650bcbe9760bac61991197219ced72ed4b97
-MISC ChangeLog 2847 RMD160 9261c9d907d004e0cd0baf9e883d7e974b85d2f3 SHA1 e0529cdb2ecd51797114ca5edaadae1f678b74ba SHA256 4748e0aa3c4a4b8fadcaf18e27b25fb255358a0628a181287916b7c739bc2136
+EBUILD cannonsmash-0.6.6.ebuild 1654 RMD160 dbfa4a98e28d7418f34f2d1b6d867b0d2d5bb6ec SHA1 04197299c1cd801dce63158040a96ec66dd2bce7 SHA256 81192ff546a6f3942d6615a0dc55f51c8a16f23d3ac57f5568633b21fe753c05
+MISC ChangeLog 2940 RMD160 eb415593835054bd8de2e861ed4b438af3bf5234 SHA1 67326bc43068e7e761323a5859f81f40db306886 SHA256 3cb25879b5b8f46e5b0a393928697d39b6c0ea9ad80d84a100d301a726de7100
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild b/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
index f6beb931c241..5aae608b2495 100644
--- a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild
+++ b/games-simulation/cannonsmash/cannonsmash-0.6.6.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-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 @@ IUSE="vorbis nls"
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 @@ S=${WORKDIR}/csmash-${PV}
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 @@ src_unpack() {
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"