summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-10-19 16:11:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-10-19 16:11:07 +0000
commitc3987e12659524f8086fc3ff4407b2f89ef43f81 (patch)
treef53eb11098f33ae6b637f3d4daeabe00980e055d /games-sports/ultimatestunts
parentvim-plugin.eclass pulls in vim, that is not desired. Revert that change for now (diff)
downloadgentoo-2-c3987e12659524f8086fc3ff4407b2f89ef43f81.tar.gz
gentoo-2-c3987e12659524f8086fc3ff4407b2f89ef43f81.tar.bz2
gentoo-2-c3987e12659524f8086fc3ff4407b2f89ef43f81.zip
version bump
(Portage version: 2.1.3.9)
Diffstat (limited to 'games-sports/ultimatestunts')
-rw-r--r--games-sports/ultimatestunts/ChangeLog8
-rw-r--r--games-sports/ultimatestunts/files/digest-ultimatestunts-0.7.33
-rw-r--r--games-sports/ultimatestunts/files/ultimatestunts-0.7.3-paths.patch33
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.7.3.ebuild68
4 files changed, 111 insertions, 1 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog
index 2b90202a19f9..ebd60a393ed3 100644
--- a/games-sports/ultimatestunts/ChangeLog
+++ b/games-sports/ultimatestunts/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-sports/ultimatestunts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.16 2007/08/24 18:18:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.17 2007/10/19 16:11:06 mr_bones_ Exp $
+
+*ultimatestunts-0.7.3 (19 Oct 2007)
+
+ 19 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/ultimatestunts-0.7.3-paths.patch, +ultimatestunts-0.7.3.ebuild:
+ version bump
24 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+files/ultimatestunts-0.7.2-amd64.patch, ultimatestunts-0.7.2.ebuild:
diff --git a/games-sports/ultimatestunts/files/digest-ultimatestunts-0.7.3 b/games-sports/ultimatestunts/files/digest-ultimatestunts-0.7.3
new file mode 100644
index 000000000000..303c1a1838ed
--- /dev/null
+++ b/games-sports/ultimatestunts/files/digest-ultimatestunts-0.7.3
@@ -0,0 +1,3 @@
+MD5 3231b1d391ee30b1ec8750019c1e1c3e ultimatestunts-srcdata-0731.tar.gz 23701546
+RMD160 cd7abeda012c94fb1ff7bdfb61a169666c9a4cdb ultimatestunts-srcdata-0731.tar.gz 23701546
+SHA256 4dbc3727d6fd900971d6e96cb673ff67ebf5b4466f93b71808c0dcb049624518 ultimatestunts-srcdata-0731.tar.gz 23701546
diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.3-paths.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.3-paths.patch
new file mode 100644
index 000000000000..848b12be083a
--- /dev/null
+++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.3-paths.patch
@@ -0,0 +1,33 @@
+--- configure.ac
++++ configure.ac
+@@ -222,9 +222,9 @@
+ dnl ------------------
+ dnl The directory locations
+ dnl ------------------
+-usdatadir="${prefix}/share/ultimatestunts/"
++usdatadir="${datadir}/ultimatestunts/"
+
+-AC_DEFINE_UNQUOTED([PREFIXDIR], ["$prefix"], [Prefix dir])
++AC_DEFINE_UNQUOTED([PREFIXDIR], ["$sysconfdir"], [Prefix dir])
+
+ AC_SUBST(netlibs)
+ AC_SUBST(soundlibs)
+--- data/Makefile.am
++++ data/Makefile.am
+@@ -1,4 +1,4 @@
+-usdatadir=@usdatadir@
++usdatadir=$(DESTDIR)/@usdatadir@
+
+ install:
+ $(mkinstalldirs) ${usdatadir}
+--- shared/usmisc.cpp
++++ shared/usmisc.cpp
+@@ -42,7 +42,7 @@
+ printf("prefix = %s\n", prefixdir.c_str());
+
+ std::vector<CString> locations;
+- locations.push_back(prefixdir + "/etc/ultimatestunts.conf");
++ locations.push_back(prefixdir + "/ultimatestunts.conf");
+ locations.push_back("/etc/ultimatestunts.conf");
+ locations.push_back("/usr/local/etc/ultimatestunts.conf");
+ locations.push_back("./ultimatestunts.conf");
diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.3.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.3.ebuild
new file mode 100644
index 000000000000..b85c8de9f8db
--- /dev/null
+++ b/games-sports/ultimatestunts/ultimatestunts-0.7.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.3.ebuild,v 1.1 2007/10/19 16:11:06 mr_bones_ Exp $
+
+inherit autotools eutils 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/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/openal
+ media-libs/freealut
+ virtual/opengl
+ virtual/glu
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ dev-util/cvs
+ sys-devel/gettext"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ games_pkg_setup
+ if ! built_with_use media-libs/libsdl opengl ; then
+ die "Please emerge libsdl with USE=opengl"
+ fi
+ if ! built_with_use media-libs/openal vorbis ; then
+ die "Please emerge openal with USE=vorbis"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ find "${S}" -type d -name CVS -exec rm -rf '{}' +
+ epatch "${FILESDIR}"/${P}-paths.patch
+ autopoint -f || die "autopoint failed"
+ sed -i \
+ -e 's:$(datadir)/locale:@top_srcdir@/data/lang:' \
+ po/Makefile.in.in \
+ || die "sed failed"
+ AT_M4DIR=m4 eautoreconf
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ || die
+ emake -C trackedit libtrackedit.a || die "emake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon data/cars/diablo/steer.png ${PN}.png
+ make_desktop_entry ustunts "Ultimate Stunts"
+ dodoc AUTHORS README
+ prepgamesdirs
+}