summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-02-24 07:32:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-02-24 07:32:49 +0000
commit2e5a0ab7ca237ff3a38807d7ef777ccc7c9a49a4 (patch)
tree02c9cc229567efab5d086ae261aaea99db30bbef /games-sports
parentversion bump (diff)
downloadhistorical-2e5a0ab7ca237ff3a38807d7ef777ccc7c9a49a4.tar.gz
historical-2e5a0ab7ca237ff3a38807d7ef777ccc7c9a49a4.tar.bz2
historical-2e5a0ab7ca237ff3a38807d7ef777ccc7c9a49a4.zip
version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/ultimatestunts/ChangeLog10
-rw-r--r--games-sports/ultimatestunts/Manifest5
-rw-r--r--games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch33
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild68
4 files changed, 113 insertions, 3 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog
index ebd60a393ed3..2bf9c772f674 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.17 2007/10/19 16:11:06 mr_bones_ Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.18 2008/02/24 07:32:48 mr_bones_ Exp $
+
+*ultimatestunts-0.7.4 (24 Feb 2008)
+
+ 24 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/ultimatestunts-0.7.4-paths.patch, +ultimatestunts-0.7.4.ebuild:
+ version bump
*ultimatestunts-0.7.3 (19 Oct 2007)
diff --git a/games-sports/ultimatestunts/Manifest b/games-sports/ultimatestunts/Manifest
index ae3162b21a56..2f14f37fab3d 100644
--- a/games-sports/ultimatestunts/Manifest
+++ b/games-sports/ultimatestunts/Manifest
@@ -1,9 +1,12 @@
AUX ultimatestunts-0.7.2-amd64.patch 433 RMD160 0b73f0a8044f8db424667b2ad10a0ebc1bc7b406 SHA1 829b83180b19748d03c6fb78da5bc93f698911ef SHA256 84574a5f6a27c4a73687a3284a5525e387b1f7cbc4bdae304b4493f67480755b
AUX ultimatestunts-0.7.2-paths.patch 969 RMD160 dd571d878e103a32addf39091bc123f0e4a25a6d SHA1 6958fbaa9b7741d17412b71228d2a4e04b7538a5 SHA256 bfb96f2bfecc5245138e7157e9c38fee6fa39cd5f29ccbb143e77e945a7c3f58
AUX ultimatestunts-0.7.3-paths.patch 969 RMD160 dd571d878e103a32addf39091bc123f0e4a25a6d SHA1 6958fbaa9b7741d17412b71228d2a4e04b7538a5 SHA256 bfb96f2bfecc5245138e7157e9c38fee6fa39cd5f29ccbb143e77e945a7c3f58
+AUX ultimatestunts-0.7.4-paths.patch 969 RMD160 dd571d878e103a32addf39091bc123f0e4a25a6d SHA1 6958fbaa9b7741d17412b71228d2a4e04b7538a5 SHA256 bfb96f2bfecc5245138e7157e9c38fee6fa39cd5f29ccbb143e77e945a7c3f58
DIST ultimatestunts-srcdata-0721.tar.gz 15347625 RMD160 37458d8907acbdb670a7a79dd4579d1de661dbd8 SHA1 b329b80b6c3c980440dd0739af071fc51e777f9e SHA256 5a5da884018a06f91018d842ca891d4756ae231e917a4c16b289a35b34926865
DIST ultimatestunts-srcdata-0731.tar.gz 23701546 RMD160 cd7abeda012c94fb1ff7bdfb61a169666c9a4cdb SHA1 80306a9fe89269a5ed1cc4ad35b9d1db9bf7de6c SHA256 4dbc3727d6fd900971d6e96cb673ff67ebf5b4466f93b71808c0dcb049624518
+DIST ultimatestunts-srcdata-0741.tar.gz 16606430 RMD160 bffb37f7f9d2f36ffd95f357d25fc05b26df7aa4 SHA1 e74d73b889c06aacc2f6bbde3c8bccea3867ec53 SHA256 2491c06347ec795331f36708a017556f04bff2aea37ac9e628620d1d1601ccae
EBUILD ultimatestunts-0.7.2.ebuild 1703 RMD160 ae833000b524bd725af60e3f48080188aa2c6f59 SHA1 7b66a04fb2ae3106d4cd432985b319ff1b05aea0 SHA256 e847c0c892482550115ed355b5a19996525bd6f92d07eea4e1d743acfe0e5c3f
EBUILD ultimatestunts-0.7.3.ebuild 1694 RMD160 f0c1ed0d3b30b60e66b392e2d227943e3c72647c SHA1 b000171c5c4eb62d3b7a03464e6edcd9d7f1d3c2 SHA256 8d264a91e75b8308dc98a4b302c0d56a4600e56c8e98c078337c96c23794149c
-MISC ChangeLog 3650 RMD160 4c5a024ec464c77154d3de31a70eb18aab265c70 SHA1 d0f381c12d5b2d1374ab1367b576c9e2a9cd63e4 SHA256 64236396afd89cc5153dea9ca7bf3de0383a467a38db076781ec05f4271a61d4
+EBUILD ultimatestunts-0.7.4.ebuild 1694 RMD160 feed7b9dc578ebc0fb1380fce2c88bca5f8ef4ea SHA1 adfaa0cdf3ca060f849608bd755520ad86ae018f SHA256 48ce14d3a0af2a8d30a8fe10d915895a95ae9544e182401487cfb2210303562d
+MISC ChangeLog 3831 RMD160 7567a018e11fa321d0920c290c5d44a13e5a0b7f SHA1 b8507c925ff61af631a97095941a47ce332e57f6 SHA256 bb9237dafa77fe70447f38639d77732aa786f80bd2c24aefdd83bdde3b6e534a
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-paths.patch
new file mode 100644
index 000000000000..848b12be083a
--- /dev/null
+++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.4-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.4.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild
new file mode 100644
index 000000000000..db6ac9219af6
--- /dev/null
+++ b/games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild,v 1.1 2008/02/24 07:32:48 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
+}