diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-03-27 15:31:10 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-03-27 15:31:10 +0000 |
commit | 1edac72c691661362397a41a34cdbce44ec24d3b (patch) | |
tree | 682e2444df64a393e96fc13670bf5bd5efb284be /games-sports/vdrift | |
parent | touchups (diff) | |
download | gentoo-2-1edac72c691661362397a41a34cdbce44ec24d3b.tar.gz gentoo-2-1edac72c691661362397a41a34cdbce44ec24d3b.tar.bz2 gentoo-2-1edac72c691661362397a41a34cdbce44ec24d3b.zip |
version bump
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'games-sports/vdrift')
-rw-r--r-- | games-sports/vdrift/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/vdrift/vdrift-20090215.ebuild | 77 |
2 files changed, 84 insertions, 1 deletions
diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog index 5ed182780f53..a03d674c98e5 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.6 2009/02/24 00:45:11 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.7 2009/03/27 15:31:10 mr_bones_ Exp $ + +*vdrift-20090215 (27 Mar 2009) + + 27 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org> + +vdrift-20090215.ebuild: + version bump 24 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> vdrift-20080805.ebuild: diff --git a/games-sports/vdrift/vdrift-20090215.ebuild b/games-sports/vdrift/vdrift-20090215.ebuild new file mode 100644 index 000000000000..03a72322744b --- /dev/null +++ b/games-sports/vdrift/vdrift-20090215.ebuild @@ -0,0 +1,77 @@ +# 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-20090215.ebuild,v 1.1 2009/03/27 15:31:10 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 + media-libs/openal + media-libs/sdl-gfx + media-libs/sdl-image + media-libs/sdl-net + media-libs/libvorbis + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/scons + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2} + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./bullet-2.73-sp1.tgz +} + +xsrc_prepare() { + sed -i \ + -e '/-O1/ s/\(\[.*\]\)/[]/' \ + SConstruct \ + || die "sed failed" +} + +src_compile() { + local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/") + + 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 +} |