diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-02-04 09:05:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-02-04 09:05:02 +0000 |
commit | 47047934d0303e964b47b986c4946689dfbcc831 (patch) | |
tree | 24712681cc344a15585e888a8d15804d4ea9fc3b /games-sports | |
parent | Version bump. Always add DDS shortcut (diff) | |
download | gentoo-2-47047934d0303e964b47b986c4946689dfbcc831.tar.gz gentoo-2-47047934d0303e964b47b986c4946689dfbcc831.tar.bz2 gentoo-2-47047934d0303e964b47b986c4946689dfbcc831.zip |
version bump
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/ultimatestunts/ChangeLog | 10 | ||||
-rw-r--r-- | games-sports/ultimatestunts/files/ultimatestunts-0.7.6-paths.patch | 8 | ||||
-rw-r--r-- | games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild | 60 |
3 files changed, 76 insertions, 2 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog index c273c5fb2e9c..5dae3d2ccbb1 100644 --- a/games-sports/ultimatestunts/ChangeLog +++ b/games-sports/ultimatestunts/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-sports/ultimatestunts -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.23 2010/10/12 15:14:08 mr_bones_ Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.24 2011/02/04 09:05:02 mr_bones_ Exp $ + +*ultimatestunts-0.7.6 (04 Feb 2011) + + 04 Feb 2011; Michael Sterrett <mr_bones_@gentoo.org> + +ultimatestunts-0.7.6.ebuild, +files/ultimatestunts-0.7.6-paths.patch: + version bump 12 Oct 2010; Michael Sterrett <mr_bones_@gentoo.org> ultimatestunts-0.7.5.ebuild: diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.6-paths.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.6-paths.patch new file mode 100644 index 000000000000..e844fe246563 --- /dev/null +++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.6-paths.patch @@ -0,0 +1,8 @@ +--- data/Makefile.am ++++ data/Makefile.am +@@ -1,4 +1,4 @@ +-usdatadir=@usdatadir@ ++usdatadir=$(DESTDIR)/@usdatadir@ + + install: + $(mkinstalldirs) ${usdatadir} diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild new file mode 100644 index 000000000000..a4fca80b97f0 --- /dev/null +++ b/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.6.ebuild,v 1.1 2011/02/04 09:05:02 mr_bones_ Exp $ + +EAPI=2 +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/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 + autopoint -f || die "autopoint failed" + AT_M4DIR=m4 eautoreconf +} + +src_configure() { + egamesconf \ + --disable-dependency-tracking \ + --with-openal \ + $(use_enable nls) + sed -i \ + -e "/^datadir/s:= .*:= ${GAMES_DATADIR}/${PN}:" \ + ${PN}.conf \ + || die +} + +src_compile() { + emake -C trackedit libtrackedit.a || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + newicon data/cars/diablo/steer.png ${PN}.png || die + make_desktop_entry ustunts "Ultimate Stunts" || die + dodoc AUTHORS README + prepgamesdirs +} |