# HG changeset patch # User Nathan Phillip Brink # Date 2010-03-07 19:27:15 # Node ID d1a1af703944512c63d4bde600be940a8238abaf # Parent 77ebb1b096f1289a187daa7d2b0bd522f6a7c444 games-action/supertuxkart: Initial import from Gentoo's Portage diff --git a/games-action/supertuxkart/ChangeLog b/games-action/supertuxkart/ChangeLog new file mode 100644 --- /dev/null +++ b/games-action/supertuxkart/ChangeLog @@ -0,0 +1,73 @@ +# ChangeLog for games-action/supertuxkart +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.17 2010/01/03 21:57:03 mr_bones_ Exp $ + + 03 Jan 2010; Michael Sterrett + supertuxkart-0.6.2.ebuild: + add USE=nls support (bug #299446) + + 25 Oct 2009; Michael Sterrett + supertuxkart-0.6.2.ebuild: + build with -as-needed with patch from upstream SVN (bug #283490) + + 25 Oct 2009; Markus Meier supertuxkart-0.6.2.ebuild: + amd64/x86 stable, bug #288638 + + 02 Sep 2009; Tristan Heaven supertuxkart-0.6.2.ebuild: + Don't install .svn directories + +*supertuxkart-0.6.2 (02 Sep 2009) + + 02 Sep 2009; Michael Sterrett + +supertuxkart-0.6.2.ebuild: + version bump (bug #283432) + + 31 May 2009; Michael Sterrett + supertuxkart-0.6.1a.ebuild: + libsdl needs USE=joystick (bug #271992) + + 19 Apr 2009; Markus Meier supertuxkart-0.6.1a: + amd64/x86 stable, bug #266695 + +*supertuxkart-0.6.1a (02 Mar 2009) + + 02 Mar 2009; Michael Sterrett + +supertuxkart-0.6.1a.ebuild: + version bump + +*supertuxkart-0.4 (10 Mar 2008) + + 10 Mar 2008; Michael Sterrett + +supertuxkart-0.4.ebuild: + version bump + +*supertuxkart-0.3 (22 Jul 2007) + + 22 Jul 2007; Tristan Heaven +supertuxkart-0.3.ebuild: + Version bump + + 14 Mar 2007; Tristan Heaven supertuxkart-0.2.ebuild: + Install menu entry, bug #159766 + + 07 Feb 2007; Tristan Heaven supertuxkart-0.2.ebuild: + Use mirror://berlios + + 27 Nov 2006; supertuxkart-0.2.ebuild: + stable on amd64 + + 25 Oct 2006; Tristan Heaven supertuxkart-0.2.ebuild: + Fix SRC_URI, bug #152773 + + 29 Sep 2006; supertuxkart-0.2.ebuild: + ~amd64 - bug #149512 + + 29 Sep 2006; Stephanie Lockwood-Childs + supertuxkart-0.2.ebuild: + mark ~ppc thanks to Albert Zeyer (Bug #149519) + +*supertuxkart-0.2 (28 Sep 2006) + + 28 Sep 2006; Michael Sterrett +metadata.xml, + +supertuxkart-0.2.ebuild: + initial commit - ebuild submitted by Mikel Olasagasti via bug #75416 + diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest new file mode 100644 --- /dev/null +++ b/games-action/supertuxkart/Manifest @@ -0,0 +1,5 @@ +DIST supertuxkart-0.6.2-src.tar.bz2 96469878 RMD160 c4946c1ae4df7254a49d218fc39b2dde8b7cfad5 SHA1 58ee28a74540f81649274147f657a23caf0acaab SHA256 081286efecdda07aab5b567728ef70188fe15f4cef174c785f76045d48394a34 +DIST supertuxkart.png 4435 RMD160 9b20e00cc1f4c2d50f6ec192881a672d95189099 SHA1 0f97ba6cdf0b8abffb39a44e5e654c76848fe366 SHA256 99bc1801cb0514946cb0171d6d5a84484b6dc881edfa7f096b6eb5fea2f28828 +EBUILD supertuxkart-0.6.2.ebuild 1776 RMD160 8cc0b008f3a899a718c5df62a98484b6c1d94ae7 SHA1 87628912c68cbae2cdc80390c49d05857c9fb945 SHA256 b74e9e1bd87f3a82ac129ccdef7ade2eed7151e38e91d0d2e89567e15992d4af +MISC ChangeLog 2296 RMD160 28f2aaac4a3fca5ff8b3859c4498dd3be4d49e59 SHA1 24cbb3e7a769f0f569a44a7a1902d6019f9e7bff SHA256 394ca8e1f316d21dda1938992d1cb50b9b147e21f4db9212103757cc33cf4876 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-action/supertuxkart/metadata.xml b/games-action/supertuxkart/metadata.xml new file mode 100644 --- /dev/null +++ b/games-action/supertuxkart/metadata.xml @@ -0,0 +1,5 @@ + + + +games + diff --git a/games-action/supertuxkart/supertuxkart-0.6.2.ebuild b/games-action/supertuxkart/supertuxkart-0.6.2.ebuild new file mode 100644 --- /dev/null +++ b/games-action/supertuxkart/supertuxkart-0.6.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.6.2.ebuild,v 1.5 2010/01/03 21:57:03 mr_bones_ Exp $ + +EAPI=2 +inherit autotools eutils games + +DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)" +HOMEPAGE="http://supertuxkart.sourceforge.net/" +SRC_URI="mirror://sourceforge/supertuxkart/files/SuperTuxKart/${PV}/${P}-src.tar.bz2 + mirror://gentoo/${PN}.png" + +LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-2.0 CCPL-Sampling-Plus-1.0 public-domain as-is" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="nls" + +RDEPEND=">=media-libs/plib-1.8.4 + virtual/opengl + virtual/glut + virtual/glu + net-libs/enet + media-libs/libmikmod + media-libs/libvorbis + media-libs/openal + media-libs/libsdl[X,video,audio,joystick] + virtual/libintl" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + esvn_clean + sed -i \ + -e '/ENETTREE/d' \ + -e '/src\/enet\/Makefile/d' \ + -e '110 i\ AC_SEARCH_LIBS(gluLookAt, GLU)' \ + configure.ac \ + || die "sed failed" + sed -i \ + -e '/SUBDIRS/s/doc//' \ + -e '/pkgdata/d' \ + Makefile.am \ + || die "sed failed" + sed -i \ + -e '/pkgdatadir/s:/games::' \ + -e '/desktop/d' \ + -e '/icon/d' \ + $(find data -name Makefile.am) \ + || die "sed failed" + sed -i \ + -e '/bindir/d' \ + -e '/AM_CPPFLAGS/s:/games::' \ + src/Makefile.am \ + || die "sed failed" + rm -rf src/enet + eautoreconf +} + +src_configure() { + egamesconf \ + --disable-dependency-tracking \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} SuperTuxKart + dodoc AUTHORS ChangeLog README TODO + prepgamesdirs +}