summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-03-14 02:31:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-03-14 02:31:10 +0000
commit58a52536bbf78dcd5187f53c54bd14089b92b546 (patch)
tree62915b659a766cf5b3ff0aafe02a87f4c591b167 /games-sports
parentEAPI=5 (diff)
downloadgentoo-2-58a52536bbf78dcd5187f53c54bd14089b92b546.tar.gz
gentoo-2-58a52536bbf78dcd5187f53c54bd14089b92b546.tar.bz2
gentoo-2-58a52536bbf78dcd5187f53c54bd14089b92b546.zip
version bump (bug #503846)
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/ultimatestunts/ChangeLog12
-rw-r--r--games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch16
-rw-r--r--games-sports/ultimatestunts/files/ultimatestunts-0.7.7-paths.patch19
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild54
4 files changed, 98 insertions, 3 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog
index 7d251f2f29d9..2af14d24239e 100644
--- a/games-sports/ultimatestunts/ChangeLog
+++ b/games-sports/ultimatestunts/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-sports/ultimatestunts
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.26 2012/07/15 07:37:42 hasufell Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.27 2015/03/14 02:31:10 mr_bones_ Exp $
+
+*ultimatestunts-0.7.7 (14 Mar 2015)
+
+ 14 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/ultimatestunts-0.7.7-gcc-4.7.patch,
+ +files/ultimatestunts-0.7.7-paths.patch, +ultimatestunts-0.7.7.ebuild:
+ version bump (bug #503846)
15 Jul 2012; Julian Ospald <hasufell@gentoo.org> ultimatestunts-0.7.6.ebuild,
+files/ultimatestunts-0.7.6-gcc-4.7.patch:
@@ -138,4 +145,3 @@
edited by Michael Sterrett <mr_bones_@gentoo.org>, Fernando V.
<email@missionaccomplish.com>, Andrei Slavoiu <ansla80@yahoo.com>, Adrian
Fruehwirth <adrian.fruehwirth@gmx.at>, and myself. Closing bug #69976.
-
diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch
new file mode 100644
index 000000000000..0ce375c1a86c
--- /dev/null
+++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch
@@ -0,0 +1,16 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sat Jul 14 20:55:35 UTC 2012
+Subject: fix compilation on gcc-4.7
+
+https://bugs.gentoo.org/show_bug.cgi?id=426612
+
+--- simulation/metaserver.cpp
++++ simulation/metaserver.cpp
+@@ -16,6 +16,7 @@
+ ***************************************************************************/
+ #include <cstdio>
+ #include <cstdlib>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-paths.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-paths.patch
new file mode 100644
index 000000000000..c9fd879b1887
--- /dev/null
+++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-paths.patch
@@ -0,0 +1,19 @@
+--- ultimatestunts-srcdata-0771.orig/data/Makefile.in
++++ ultimatestunts-srcdata-0771/data/Makefile.in
+@@ -358,11 +358,11 @@
+
+
+ install:
+- $(mkinstalldirs) ${usdatadir}
+- cp -r cars environment lang misc music textures textures.dat tiles tracks ${usdatadir}
+- chmod 644 ${usdatadir}/*.*
+- chmod 644 ${usdatadir}/*/*.*
+- chmod 644 ${usdatadir}/*/*/*.*
++ $(mkinstalldirs) $(DESTDIR)${usdatadir}
++ cp -r cars environment lang misc music textures textures.dat tiles tracks $(DESTDIR)${usdatadir}
++ chmod 644 $(DESTDIR)${usdatadir}/*.*
++ chmod 644 $(DESTDIR)${usdatadir}/*/*.*
++ chmod 644 $(DESTDIR)${usdatadir}/*/*/*.*
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild
new file mode 100644
index 000000000000..e37aac1b39f2
--- /dev/null
+++ b/games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild,v 1.1 2015/03/14 02:31:10 mr_bones_ Exp $
+
+EAPI=5
+inherit eutils flag-o-matic versionator games
+
+MY_P=${PN}-srcdata-$(replace_all_version_separators)1
+DESCRIPTION="Remake of the famous Stunts game"
+HOMEPAGE="http://www.ultimatestunts.nl/"
+SRC_URI="mirror://sourceforge/ultimatestunts/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="media-libs/libsdl[joystick,opengl,video]
+ media-libs/sdl-image
+ >=media-libs/openal-1
+ media-libs/libvorbis
+ media-libs/freealut
+ virtual/opengl
+ virtual/glu
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ ecvs_clean
+ epatch "${FILESDIR}"/${P}-paths.patch \
+ "${FILESDIR}"/${P}-gcc-4.7.patch
+ append-cppflags $(sdl-config --cflags)
+}
+
+src_configure() {
+ egamesconf \
+ --with-openal \
+ $(use_enable nls)
+}
+
+src_compile() {
+ emake -C trackedit libtrackedit.a
+ emake
+}
+
+src_install() {
+ default
+ newicon data/cars/diablo/steer.png ${PN}.png
+ make_desktop_entry ustunts "Ultimate Stunts"
+ prepgamesdirs
+}