summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-07-31 02:51:16 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-07-31 02:51:16 +0000
commit2abb9496c17b6ae291089d024a297023b74acc5a (patch)
treeb7b3a90c3e436659ee44c8ce30394b5e3b3f83a8 /games-sports
parentamd64 stable, bug 277647 (diff)
downloadhistorical-2abb9496c17b6ae291089d024a297023b74acc5a.tar.gz
historical-2abb9496c17b6ae291089d024a297023b74acc5a.tar.bz2
historical-2abb9496c17b6ae291089d024a297023b74acc5a.zip
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/vdrift/ChangeLog8
-rw-r--r--games-sports/vdrift/Manifest4
-rw-r--r--games-sports/vdrift/vdrift-20090615.ebuild72
3 files changed, 82 insertions, 2 deletions
diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog
index c22715521648..203e06b2b844 100644
--- a/games-sports/vdrift/ChangeLog
+++ b/games-sports/vdrift/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-sports/vdrift
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.10 2009/06/01 13:03:39 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.11 2009/07/31 02:51:16 mr_bones_ Exp $
+
+*vdrift-20090615 (31 Jul 2009)
+
+ 31 Jul 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +vdrift-20090615.ebuild:
+ version bump
01 Jun 2009; Markus Meier <maekke@gentoo.org> vdrift-20090215.ebuild:
amd64/x86 stable, bug #272048
diff --git a/games-sports/vdrift/Manifest b/games-sports/vdrift/Manifest
index c8f86067edd9..bec8a0c53125 100644
--- a/games-sports/vdrift/Manifest
+++ b/games-sports/vdrift/Manifest
@@ -1,4 +1,6 @@
DIST vdrift-2009-02-15-src.tar.bz2 487794929 RMD160 5fe2cedad56432af1339ed9045bd4a752b20525b SHA1 d4c56bb7e3e8f9c9d52c3d29513f3a0b4b0c8e92 SHA256 3a4a66487b476b049004e9e11b0893ade6ad4317979cf11a0613b48f34a5143a
+DIST vdrift-2009-06-15-src.tar.bz2 502507126 RMD160 5ef735cc9a0c51612c59d51170bf50b7b8841b8d SHA1 b6fc35f1df7ca519e876d58d248924922c7e0eb5 SHA256 14c87f25e9dea2dc51f991a6c14e5f7122ec5b56df416327ba3ca383e20c11b9
EBUILD vdrift-20090215.ebuild 1784 RMD160 32bc21810a5877789e7b6787a06d99fd45cecd6d SHA1 1673ef3ada62e7fa9a93b20542ef2fac0a8d47e7 SHA256 70c2d441482d87456ab4523b9e3c2e5e820f5653cc73d998f773018d729bf8b1
-MISC ChangeLog 1464 RMD160 5b03221024bc5d56fe0464a54dda7a0d5faf76dc SHA1 7e7dc7dc464b3164a6a7fdf42628b9624c6e5526 SHA256 5ffe0ed28f1a96a8beaa98e9e7c547bed7a52d4d3d8ef602a81b118152ba1f6f
+EBUILD vdrift-20090615.ebuild 1731 RMD160 871ee6e66406c355c1c741d8eb3ddbd3660f2a7e SHA1 f2032c0839c3a261b9905c33a7ab221b4b946453 SHA256 4b857b2d97f7dde8bd9140c347feaa05e69c46ae4e5e9791b255af5b4ce83c9d
+MISC ChangeLog 1597 RMD160 b156f63685b6d1b9d3b3b2e5ab27b3054f263469 SHA1 0c301774521049d9ceccc33d8cc5f66b0ab7dd36 SHA256 995a71e8076dd2c98b002c246a789977975b2e93c6081cb4a6c050a4318bd94b
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-sports/vdrift/vdrift-20090615.ebuild b/games-sports/vdrift/vdrift-20090615.ebuild
new file mode 100644
index 000000000000..b96943577b62
--- /dev/null
+++ b/games-sports/vdrift/vdrift-20090615.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20090615.ebuild,v 1.1 2009/07/31 02:51:16 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6}
+DESCRIPTION="A driving simulation made with drift racing in mind"
+HOMEPAGE="http://vdrift.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2"
+
+LICENSE="GPL-2 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ media-libs/glew
+ media-libs/libsdl[opengl,video]
+ media-libs/openal
+ media-libs/sdl-gfx
+ media-libs/sdl-image[png]
+ media-libs/sdl-net
+ media-libs/libvorbis
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ dev-cpp/asio
+ dev-util/scons
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2}
+
+src_prepare() {
+ sed -i \
+ -e "s/'-O1',\?//" \
+ SConstruct \
+ || die "sed failed"
+}
+
+src_compile() {
+ local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[0-9]\+\).*/\1/; p }")
+
+ scons \
+ ${sconsopts} \
+ NLS=$(use nls && echo 1 || echo 0) \
+ destdir="${D}" \
+ bindir="${GAMES_BINDIR}" \
+ datadir="${GAMES_DATADIR}"/${PN} \
+ localedir=/usr/share/locale \
+ prefix= \
+ use_binreloc=0 \
+ release=1 \
+ os_cc=1 \
+ os_cxx=1 \
+ os_cxxflags=1 \
+ || die "scons failed"
+}
+
+src_install() {
+ dogamesbin build/vdrift || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data/* || die "doins failed"
+ newicon data/textures/icons/vdrift-64x64.png ${PN}.png
+ make_desktop_entry ${PN} VDrift
+ dodoc docs/*
+ find "${D}" -name "SCon*" -exec rm \{\} +
+ cd "${D}"
+ keepdir $(find "${GAMES_DATADIR/\//}/${PN}" -type d -empty)
+ prepgamesdirs
+}