diff --git a/games-arcade/supertux/ChangeLog b/games-arcade/supertux/ChangeLog new file mode 100644 --- /dev/null +++ b/games-arcade/supertux/ChangeLog @@ -0,0 +1,124 @@ +# ChangeLog for games-arcade/supertux +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/ChangeLog,v 1.33 2009/02/23 01:02:56 mr_bones_ Exp $ + + 23 Feb 2009; Michael Sterrett + supertux-0.1.3.ebuild: + remove GAMES_USE_SDL; now handled by use-based deps + + 22 Jan 2009; Michael Sterrett + supertux-0.1.3.ebuild: + transition to the non-no* use flags in libsdl + + 09 Jan 2009; Michael Sterrett + supertux-0.1.3.ebuild: + EAPI=2; add use-based deps + + 26 Feb 2008; Michael Sterrett + +files/supertux-0.1.3-ndebug.patch, supertux-0.1.3.ebuild: + ndebug patch from Guenther Brunthaler via bug #211322 + + 09 Apr 2007; Peter Weller supertux-0.1.3.ebuild: + Keyworded ~x86-fbsd wrt bug 173405 + + 07 Feb 2007; Tristan Heaven supertux-0.1.3.ebuild: + Use mirror://berlios + + 23 Dec 2006; Tony Vroon supertux-0.1.3.ebuild: + Keyword ~ppc64 now that mikmod works. + + 01 Dec 2006; Chris Gianelloni supertux-0.1.3.ebuild: + Removing old virtual/x11 dependency. + + 13 Apr 2006; Chris Gianelloni supertux-0.1.3.ebuild: + Moved games_pkg_setup to the beginning of pkg_setup. + + 19 Mar 2006; Mark Loeser + +files/supertux-0.1.3-gcc41.patch, supertux-0.1.3.ebuild: + Add patch to fix compilation with gcc-4.1 by degrenier AT easyconnect DOT + fr; bug #126807 + + 13 Jan 2006; Stefan Schweizer supertux-0.1.3.ebuild: + Add modular depends + + 20 Oct 2005; Michael Sterrett + -supertux-0.1.2.ebuild, supertux-0.1.3.ebuild: + clean old version; use GAMES_USE_SDL + +*supertux-0.1.3 (10 Jul 2005) + + 10 Jul 2005; Michael Sterrett + +supertux-0.1.3.ebuild: + version bump + + 15 Jun 2005; Chris Gianelloni supertux-0.1.2.ebuild: + Removed INSTALL file. + + 10 Feb 2005; Michael Sterrett supertux-0.1.2.ebuild: + add check for mikmod use for sdl-mixer for bug #81503 + + 10 Feb 2005; Michael Sterrett + -supertux-0.1.1-r1.ebuild: + clean old ebuild + + 18 Jan 2005; Chris Gianelloni + supertux-0.1.1-r1.ebuild, supertux-0.1.2.ebuild: + Updated with a .desktop entry and closing bug #76680. + + 24 Dec 2004; Simon Stelling supertux-0.1.2.ebuild: + stable on amd64 + + 11 Nov 2004; Joseph Jezak supertux-0.1.2.ebuild: + Marked ppc stable. + + 23 Sep 2004; Gustavo Zacarias supertux-0.1.2.ebuild: + Stable on sparc + + 01 Sep 2004; Gustavo Zacarias supertux-0.1.2.ebuild: + Keyworded ~sparc + + 25 Aug 2004; Michael Sterrett : + upstream changed the tarball. updated the digests (bug #61709) + +*supertux-0.1.2 (25 Aug 2004) + + 25 Aug 2004; Michael Sterrett +supertux-0.1.2.ebuild: + version bump (bug #61600) + + 21 Jun 2004; Michael Sterrett -supertux-0.0.6.ebuild, + -supertux-0.1.1.ebuild: + Clean older ebuilds + +*supertux-0.1.1-r1 (21 Jun 2004) + + 21 Jun 2004; Michael Sterrett + +supertux-0.1.1-r1.ebuild: + rev bump so the patch goes out + + 21 Jun 2004; Michael Sterrett supertux-0.1.1.ebuild: + Fix savegame corruption (bug #53698) - patch from Peter Jensen + +*supertux-0.1.1 (12 May 2004) + + 12 May 2004; Michael Sterrett supertux-0.0.6.ebuild, + supertux-0.1.1.ebuild: + version bump (bug #50729 ) - ebuild submitted by Matze Braun + + 30 Mar 2004; David Holm supertux-0.0.6.ebuild: + Added to ~ppc. + +*supertux-0.0.6 (30 Mar 2004) + + 30 Mar 2004; Michael Sterrett supertux-0.0.6.ebuild: + version bump; ebuild submitted by Daniel Fullmer via bug #45158 + +*supertux-0.0.5 (31 Dec 2003) + + 31 Dec 2003; Michael Sterrett supertux-0.0.5.ebuild: + version bump + +*supertux-0.0.4 (09 Sep 2003) + + 09 Sep 2003; Michael Sterrett supertux-0.0.4.ebuild: + initial commit; ebuild from mikami and then modified (bug 28251) + diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest new file mode 100644 --- /dev/null +++ b/games-arcade/supertux/Manifest @@ -0,0 +1,6 @@ +AUX supertux-0.1.3-gcc41.patch 459 RMD160 561fc1e8c69d0dde9124634304893e908485f014 SHA1 08531abf264730a53d3a6f73ecb75bb79d3e475a SHA256 b4b6c6bc888dccece3db323abeb182091e686c96dd959fce545030a887c88ff9 +AUX supertux-0.1.3-ndebug.patch 689 RMD160 00e43b5af0be063ea4d052113c5798725e6a2122 SHA1 5c015600ab09db3228d4c6a9b2fa4261731d2e91 SHA256 544c24a2496ed0988e4be121eb1b8de173e24e5b15edadb8d76160c5c4cea45e +DIST supertux-0.1.3.tar.bz2 6715265 RMD160 54568fa1e99865d18cb042be81a97fd43f56766c SHA1 ad783011fbf15a8a56ca8680769a8c2a15abc515 SHA256 0092588351776626955339caaa62d12ce5954bb80c5f6952f60a122f53c2ad97 +EBUILD supertux-0.1.3.ebuild 1026 RMD160 17d1178fe1c75cb9c046d6c7393f1048fa350b9b SHA1 cb2f93393b897e52d6aa7bf51edfd93f1a55a84b SHA256 98d94a1dc7ba8b41947e559554be363236e6ede5b3f406291d517fb0475c69e6 +MISC ChangeLog 4232 RMD160 ce6c073a860e5c99e0b3edd0af182a7d05f5d7fc SHA1 9c3490031a8b0a085774f5491c96c18f3f4f31df SHA256 86e2a8867229328fc8c25b83bf9a3a66a3bc30e1c54b968160099228f501db7b +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch b/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch new file mode 100644 --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch @@ -0,0 +1,12 @@ +diff -uNr supertux-0.1.3.orig/src/menu.h supertux-0.1.3/src/menu.h +--- supertux-0.1.3.orig/src/menu.h 2005-06-21 23:16:07.000000000 +0200 ++++ supertux-0.1.3/src/menu.h 2006-03-19 15:49:55.277266712 +0100 +@@ -207,7 +207,7 @@ + + bool isToggled(int id); + +- void Menu::get_controlfield_key_into_input(MenuItem *item); ++ void get_controlfield_key_into_input(MenuItem *item); + + void draw (); + void draw_item(int index, int menu_width, int menu_height); diff --git a/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch b/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch new file mode 100644 --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch @@ -0,0 +1,16 @@ +Index: supertux-0.1.3/src/tile.cpp +=================================================================== +--- supertux-0.1.3.orig/src/tile.cpp ++++ supertux-0.1.3/src/tile.cpp +@@ -99,7 +99,11 @@ void TileManager::load_tileset(std::stri + tile->anim_speed = 25; + + LispReader reader(lisp_cdr(element)); ++ #ifdef NDEBUG ++ void(reader.read_int("id", &tile->id)); ++ #else + assert(reader.read_int("id", &tile->id)); ++ #endif + reader.read_bool("solid", &tile->solid); + reader.read_bool("brick", &tile->brick); + reader.read_bool("ice", &tile->ice); diff --git a/games-arcade/supertux/metadata.xml b/games-arcade/supertux/metadata.xml new file mode 100644 --- /dev/null +++ b/games-arcade/supertux/metadata.xml @@ -0,0 +1,5 @@ + + + +games + diff --git a/games-arcade/supertux/supertux-0.1.3.ebuild b/games-arcade/supertux/supertux-0.1.3.ebuild new file mode 100644 --- /dev/null +++ b/games-arcade/supertux/supertux-0.1.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/supertux-0.1.3.ebuild,v 1.14 2009/02/23 01:02:56 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="A game similar to Super Mario Bros." +HOMEPAGE="http://super-tux.sourceforge.net" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~x86-fbsd" +IUSE="opengl" + +DEPEND="media-libs/libsdl[joystick] + media-libs/sdl-image[png,jpeg] + media-libs/sdl-mixer[mikmod,vorbis] + x11-libs/libXt" + +PATCHES=( "${FILESDIR}"/${P}-gcc41.patch "${FILESDIR}"/${P}-ndebug.patch ) + +src_configure() { + egamesconf \ + --disable-dependency-tracking \ + --disable-debug \ + $(use_enable opengl) \ + || die +} + +src_install() { + emake DESTDIR="${D}" \ + desktopdir=/usr/share/applications \ + icondir=/usr/share/pixmaps \ + install || die "emake install failed" + dodoc AUTHORS ChangeLog LEVELDESIGN README TODO + prepgamesdirs +}