summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-03-10 07:46:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-03-10 07:46:01 +0000
commit59674f17f59119ee92351e3b8f42e46778df4f86 (patch)
tree2bc639024cacdd20d7c96932abf26410c4bc2569 /games-action
parentHandle "default" ABI for sparc64 targets without falling back to a sparc32 CT... (diff)
downloadhistorical-59674f17f59119ee92351e3b8f42e46778df4f86.tar.gz
historical-59674f17f59119ee92351e3b8f42e46778df4f86.tar.bz2
historical-59674f17f59119ee92351e3b8f42e46778df4f86.zip
version bump (bug #349899)
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'games-action')
-rw-r--r--games-action/supertuxkart/ChangeLog10
-rw-r--r--games-action/supertuxkart/Manifest5
-rw-r--r--games-action/supertuxkart/files/supertuxkart-0.7-build.patch200
-rw-r--r--games-action/supertuxkart/supertuxkart-0.7.ebuild50
4 files changed, 262 insertions, 3 deletions
diff --git a/games-action/supertuxkart/ChangeLog b/games-action/supertuxkart/ChangeLog
index 8198ec1cbe16..28237a769e69 100644
--- a/games-action/supertuxkart/ChangeLog
+++ b/games-action/supertuxkart/ChangeLog
@@ -1,6 +1,12 @@
# 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.21 2010/11/03 08:56:15 tupone Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.22 2011/03/10 07:46:00 mr_bones_ Exp $
+
+*supertuxkart-0.7 (10 Mar 2011)
+
+ 10 Mar 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ +supertuxkart-0.7.ebuild, +files/supertuxkart-0.7-build.patch:
+ version bump (bug #349899)
03 Nov 2010; Alfredo Tupone <tupone@gentoo.org> supertuxkart-0.6.2.ebuild,
+files/supertuxkart-0.6.2-ovflfix.patch:
diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest
index 913a93a499b3..c2bf7d00f19a 100644
--- a/games-action/supertuxkart/Manifest
+++ b/games-action/supertuxkart/Manifest
@@ -1,6 +1,9 @@
AUX supertuxkart-0.6.2-ovflfix.patch 499 RMD160 c9f6b62d3fd4f3d32618cd4f2cc938e8ee161412 SHA1 f5809742a277f1ae40834b3d337dfe40d4b2f025 SHA256 e60d082e8a3b819a3290696333c97b2090e2a6abd4b1830fa6bd23265c5c9909
+AUX supertuxkart-0.7-build.patch 6759 RMD160 54b334a99ebcf32d9bcd08480a007491a54e70b8 SHA1 bda72f83c6bf6cf80d2e91414cf2e163e9fbe9c1 SHA256 03e81146a1b2dda8b4382abf8258a319d4b9057f5a06e661ea8cef18c4dd5550
DIST supertuxkart-0.6.2-src.tar.bz2 96469878 RMD160 c4946c1ae4df7254a49d218fc39b2dde8b7cfad5 SHA1 58ee28a74540f81649274147f657a23caf0acaab SHA256 081286efecdda07aab5b567728ef70188fe15f4cef174c785f76045d48394a34
+DIST supertuxkart-0.7-src.tar.bz2 110770427 RMD160 aeb2db7920ba10a4221a4c1fea3fc4ebf3d5ef5e SHA1 0d42c3ec20410919136d27f639f853f3f665d3b6 SHA256 18543c4b0c48c4952efe076cf9cdb13bdfc381bc2f249eb9b41b611970350006
DIST supertuxkart.png 4435 RMD160 9b20e00cc1f4c2d50f6ec192881a672d95189099 SHA1 0f97ba6cdf0b8abffb39a44e5e654c76848fe366 SHA256 99bc1801cb0514946cb0171d6d5a84484b6dc881edfa7f096b6eb5fea2f28828
EBUILD supertuxkart-0.6.2.ebuild 1904 RMD160 cf1c901ebee937a4b34619c4b830c138811bf571 SHA1 80d014c2f4b484a005d7ec9691d43cd252f9679f SHA256 a0c47459cd30bc4320a8c2230fbd9e42c8851fc3e5060c2bfaba9db46696b7bf
-MISC ChangeLog 2844 RMD160 22b17d90908b3affbfd370fc82c628a2372afba5 SHA1 af808391d7f506320b248f988c8c55b9952c6cd0 SHA256 40afec524345d4414e6e61596b7e7467107b0beda5709c4850121a7b7bfd2feb
+EBUILD supertuxkart-0.7.ebuild 1321 RMD160 9f359afd0995353891fa117ed30496a28989532b SHA1 1debac4b1f2e46fcd9849add2800e2545e98f18e SHA256 833dd68517fcb55846d7221396002ff48b77020254f4763a8b85173f71792c3a
+MISC ChangeLog 3030 RMD160 f6399c84babecadd505a0fca990f78aae4da675d SHA1 b358278121397fdfd90690d6f6e3d7a05e00d854 SHA256 b0e634451b5b25e780f2ffd43514737c4d03c4f15af50196151d43013a97a484
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/supertuxkart/files/supertuxkart-0.7-build.patch b/games-action/supertuxkart/files/supertuxkart-0.7-build.patch
new file mode 100644
index 000000000000..c32bb9e4c654
--- /dev/null
+++ b/games-action/supertuxkart/files/supertuxkart-0.7-build.patch
@@ -0,0 +1,200 @@
+--- supertuxkart-0.7.orig/Makefile.am
++++ supertuxkart-0.7/Makefile.am
+@@ -1,8 +1,6 @@
+ ACLOCAL_AMFLAGS = -I m4
+
+-SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data
++SUBDIRS = $(BULLETTREE) $(ENETTREE) src data
+
+-pkgdatadir=$(datadir)/doc/$(PACKAGE)
+-dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README
+ # NEWS only contains "see changelog"
+ # CHANGES only contains "see NEW"
+--- supertuxkart-0.7.orig/configure.ac
++++ supertuxkart-0.7/configure.ac
+@@ -107,6 +107,7 @@
+ if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then
+ # if GLcore found, then also check for GL
+ AC_SEARCH_LIBS(glXCreateContext, GL)
++ AC_SEARCH_LIBS(gluLookAt, GLU)
+ fi
+ ;;
+ esac
+@@ -399,7 +400,6 @@
+ ;;
+ esac
+ SUMMARY="$SUMMARY\nUsing enet network support."
+-ENETTREE="src/enet"
+
+ # =================
+ # Check for gettext
+@@ -460,7 +460,6 @@
+ src/ide/Makefile \
+ src/bullet/Makefile \
+ src/bullet/src/Makefile \
+- src/enet/Makefile \
+ ])
+ AC_OUTPUT
+ echo -e $SUMMARY
+--- supertuxkart-0.7.orig/data/Makefile.am
++++ supertuxkart-0.7/data/Makefile.am
+@@ -1,7 +1,7 @@
+ # data/
+
+ SUBDIRS = fonts gui karts models music po sfx textures tracks grandprix
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data
++pkgdatadir = $(datadir)/$(PACKAGE)/data
+
+ dist_pkgdata_DATA = \
+ $(shell find $(srcdir) -name "*.data") \
+@@ -13,16 +13,7 @@
+ stk_config.xml powerup.xml items.xml \
+ CREDITS
+
+-desktopdir = $(prefix)/share/applications
+-desktop_DATA = supertuxkart.desktop
+
+-icondir = $(prefix)/share/pixmaps
+-dist_icon_DATA = supertuxkart_32.xpm supertuxkart_64.xpm
+
+
+-# The desktop file needs the absolute path to the binary
+ # since e.g. /usr/games might not be in the standard path
+-EXTRA_DIST = supertuxkart_desktop.template
+-CLEANFILES = supertuxkart.desktop
+-supertuxkart.desktop: Makefile supertuxkart_desktop.template
+- sed 's#PREFIX#$(prefix)#' $(srcdir)/supertuxkart_desktop.template >supertuxkart.desktop
+--- supertuxkart-0.7.orig/data/fonts/Makefile.am
++++ supertuxkart-0.7/data/fonts/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/fonts/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/fonts
++pkgdatadir = $(datadir)/$(PACKAGE)/data/fonts
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png") \
+ $(shell find $(srcdir) -name "*.xml")
+--- supertuxkart-0.7.orig/data/grandprix/Makefile.am
++++ supertuxkart-0.7/data/grandprix/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/music
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/grandprix
++pkgdatadir = $(datadir)/$(PACKAGE)/data/grandprix
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.grandprix") \
+ $(shell find $(srcdir) -name "*.challenge")
+--- supertuxkart-0.7.orig/data/gui/Makefile.am
++++ supertuxkart-0.7/data/gui/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/gui/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/gui
++pkgdatadir = $(datadir)/$(PACKAGE)/data/gui
+
+ nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png" ) \
+ $(shell find $(srcdir) -name "*.jpg" ) \
+--- supertuxkart-0.7.orig/data/karts/Makefile.am
++++ supertuxkart-0.7/data/karts/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/karts
+
+-pkgdatadir= $(datadir)/games/$(PACKAGE)/data/karts
++pkgdatadir= $(datadir)/$(PACKAGE)/data/karts
+
+ nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "materials.xml") \
+ $(shell find $(srcdir) -name "*.png") \
+--- supertuxkart-0.7.orig/data/models/Makefile.am
++++ supertuxkart-0.7/data/models/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/models/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/models
++pkgdatadir = $(datadir)/$(PACKAGE)/data/models
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.b3d") \
+ $(shell find $(srcdir) -name "*.png") \
+--- supertuxkart-0.7.orig/data/music/Makefile.am
++++ supertuxkart-0.7/data/music/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/music
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/music
++pkgdatadir = $(datadir)/$(PACKAGE)/data/music
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.ogg") \
+ $(shell find $(srcdir) -name "*.music") \
+--- supertuxkart-0.7.orig/data/po/Makefile.am
++++ supertuxkart-0.7/data/po/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/po/
+
+-pkgdatadir = $(datadir)/games/@PACKAGE@/data/po
++pkgdatadir = $(datadir)/@PACKAGE@/data/po
+
+ nobase_pkgdata_DATA = $(shell find $(srcdir) -name "*.po") \
+ $(shell find $(srcdir) -name "*.mo") \
+--- supertuxkart-0.7.orig/data/sfx/Makefile.am
++++ supertuxkart-0.7/data/sfx/Makefile.am
+@@ -1,6 +1,6 @@
+ # sfx/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/sfx
++pkgdatadir = $(datadir)/$(PACKAGE)/data/sfx
+
+ nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.ogg") \
+ $(shell find $(srcdir) -name "sfx.xml") \
+--- supertuxkart-0.7.orig/data/textures/Makefile.am
++++ supertuxkart-0.7/data/textures/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/textures
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/textures
++pkgdatadir = $(datadir)/$(PACKAGE)/data/textures
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png") \
+ $(shell find $(srcdir) -name "*.jpg") \
+ materials.xml License.txt
+--- supertuxkart-0.7.orig/data/tracks/Makefile.am
++++ supertuxkart-0.7/data/tracks/Makefile.am
+@@ -1,6 +1,6 @@
+ # data/tracks
+
+-pkgdatadir= $(datadir)/games/$(PACKAGE)/data/tracks
++pkgdatadir= $(datadir)/$(PACKAGE)/data/tracks
+ nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.jpg") \
+ $(shell find $(srcdir) -name "*.png") \
+ $(shell find $(srcdir) -name "*.b3d") \
+--- supertuxkart-0.7.orig/src/Makefile.am
++++ supertuxkart-0.7/src/Makefile.am
+@@ -2,10 +2,9 @@
+
+ SUBDIRS = ide
+
+-bindir=$(prefix)/games
+ bin_PROGRAMS = supertuxkart
+
+-AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
++AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/$(PACKAGE)/\"" \
+ -I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
+
+ supertuxkart_SOURCES = \
+--- supertuxkart-0.7.orig/src/utils/translation.cpp
++++ supertuxkart-0.7/src/utils/translation.cpp
+@@ -103,6 +103,8 @@
+ // ----------------------------------------------------------------------------
+ const wchar_t* Translations::w_gettext(const char* original)
+ {
++ const char* original_t;
++
+ if (original[0] == '\0') return L"";
+
+ #if TRANSLATE_VERBOSE
+@@ -114,7 +116,7 @@
+ #endif
+
+ #if ENABLE_NLS
+- const char* original_t = gettext(original);
++ original_t = gettext(original);
+ #else
+ m_converted_string = core::stringw(original);
+ return m_converted_string.c_str();
diff --git a/games-action/supertuxkart/supertuxkart-0.7.ebuild b/games-action/supertuxkart/supertuxkart-0.7.ebuild
new file mode 100644
index 000000000000..a0d1d8e29b0a
--- /dev/null
+++ b/games-action/supertuxkart/supertuxkart-0.7.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.7.ebuild,v 1.1 2011/03/10 07:46:00 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools flag-o-matic eutils games
+
+DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
+HOMEPAGE="http://supertuxkart.sourceforge.net/"
+SRC_URI="mirror://sourceforge/supertuxkart/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 unicode"
+
+RDEPEND=">=dev-games/irrlicht-1.7.2
+ virtual/opengl
+ media-libs/freeglut
+ virtual/glu
+ net-libs/enet:0
+ media-libs/libvorbis
+ media-libs/openal
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ unicode? ( dev-libs/fribidi )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ rm -rf src/enet
+ eautoreconf
+}
+
+src_configure() {
+ append-libs -lpng -ljpeg -lbz2
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} SuperTuxKart
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}