ChangeLog

# 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 $

08 Apr 2008; Michael Sterrett
cannonsmash-0.6.6.ebuild:
fix deps (bug #216538)

12 Mar 2007; Tristan Heaven cannonsmash-0.6.6.ebuild:
Install menu entry, bug #159849

03 Nov 2006; Tristan Heaven cannonsmash-0.6.6.ebuild:
Add nls dependencies

27 Apr 2006; Marien Zwart
files/digest-cannonsmash-0.6.6, Manifest:
Fixing SHA256 digest, pass four

10 Apr 2006; +files/cannonsmash-0.6.6-gcc41.patch,
-files/0.6.5-loadparts.patch, cannonsmash-0.6.6.ebuild:
gcc-4.1 fix

22 Feb 2006; cannonsmash-0.6.6.ebuild:
Modular X dependency fix

06 Sep 2005; Chris Gianelloni
cannonsmash-0.6.6.ebuild:
oggvorbis -> vorbis for bug #94254.

13 May 2005; Mike Frysinger
+files/cannonsmash-0.6.6-sizeof-cast.patch,
+files/cannonsmash-0.6.6-x-inc.patch, cannonsmash-0.6.6.ebuild:
Add x-include fix by Jason Bucata and amd64 fix by Bernard Cafarelli #84187.

28 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

16 Dec 2004; Joseph Jezak cannonsmash-0.6.6.ebuild:
Marked ppc stable.

19 Aug 2004; Michael Sterrett
cannonsmash-0.6.6.ebuild:
Fix datadir issue (bug #60933)

01 Jul 2004; Jeremy Huddleston
cannonsmash-0.6.5.ebuild, cannonsmash-0.6.6.ebuild:
virtual/glibc -> virtual/libc

03 Jun 2004; Aron Griffis cannonsmash-0.6.5.ebuild:
Fix use invocation

27 Mar 2004; David Holm cannonsmash-0.6.6.ebuild:
Added to ~ppc.

*cannonsmash-0.6.6 (27 Mar 2004)

27 Mar 2004; Michael Sterrett
cannonsmash-0.6.6.ebuild:
version bump (bug #45699)

*cannonsmash-0.6.5 (05 Mar 2003)

12 Jul 2003; Mike Frysinger :
Added optional ogg file for theme music #21070.

09 Mar 2003; Mike Frysinger :
Added patch for #16903.

05 Mar 2003; Mike Frysinger :
Version bump #12662.

*cannonsmash-0.6.4.2-r1 (26 May 2002)

18 Oct 2002; Daniel Ahlberg cannonsmash-0.6.4.2-r1.ebuild :
Updated to mirror://sourceforge in SRC_URI.

17 jul 2002; Jose Alberto Suárez López cannonsmash-0.6.4.2-r1.ebuild :
Added LICENSE, KEYWORDS.
Added sdl-mixer to deps, so sound finally works, and made ebuild
nls-aware.

*cannonsmash-0.6.4.2 (18 May 2002)

18 May 2002; Bart Verwilst Changelog :
Initial ebuild

Manifest

AUX cannonsmash-0.6.6-gcc41.patch 586 RMD160 b32e17b299d5ee16f42132fe0561c0c6d658bc5a SHA1 3b9ad2bce7399b3ecc4c4d7e9f2f4f5a211b17e8 SHA256 8f8f53f8eb715984fd65409d178bc586e9610842a4f2a2a9249e3bf6adeacf62
AUX cannonsmash-0.6.6-sizeof-cast.patch 358 RMD160 e9d53d5d83ad316aacd1a826b229cd54d7824b45 SHA1 47d3c0ea0aa0a5228162456dbd8a53eba0dc52e1 SHA256 a896a7f05317080500663aa49a6f61642c41e690b5889095f1f193a82cd4cbe6
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
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

cannonsmash-0.6.6.ebuild

# Copyright 1999-2008 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 $

inherit eutils games

MY_OGG=danslatristesse2-48.ogg
DESCRIPTION="3D tabletennis game"
HOMEPAGE="http://cannonsmash.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/csmash-${PV}.tar.gz
vorbis? ( http://nan.p.utmc.or.jp/${MY_OGG} )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="vorbis nls"

RDEPEND="virtual/opengl
virtual/glu
media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image
=x11-libs/gtk+-2*
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( sys-devel/gettext )"

S=${WORKDIR}/csmash-${PV}

src_unpack() {
unpack csmash-${PV}.tar.gz
cd "${S}"
epatch \
"${FILESDIR}"/${P}-x-inc.patch \
"${FILESDIR}"/${P}-sizeof-cast.patch \
"${FILESDIR}"/${P}-gcc41.patch
if use vorbis ; then
sed -i \
-e "s:${MY_OGG}:${GAMES_DATADIR}/csmash/${MY_OGG}:" ttinc.h \
|| die "sed failed"
fi
}

src_compile() {
egamesconf \
$(use_enable nls) \
--datadir="${GAMES_DATADIR_BASE}" \
|| die
emake \
localedir="/usr/share" \
|| die "emake failed"
}

src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
if use vorbis ; then
insinto "${GAMES_DATADIR}"/csmash
doins "${DISTDIR}"/${MY_OGG} || die "doins failed"
fi
newicon win32/orange.ico ${PN}.ico
make_desktop_entry csmash "Cannon Smash" /usr/share/pixmaps/${PN}.ico
dodoc AUTHORS CREDITS README*
prepgamesdirs
}

files

metadata.xml




games