diff options
Diffstat (limited to 'games-sports/vdrift')
-rw-r--r-- | games-sports/vdrift/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/vdrift/Manifest | 4 | ||||
-rw-r--r-- | games-sports/vdrift/vdrift-20090215.ebuild | 77 |
3 files changed, 87 insertions, 2 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/Manifest b/games-sports/vdrift/Manifest index 25ffe6c3e7cb..8789f0e70d17 100644 --- a/games-sports/vdrift/Manifest +++ b/games-sports/vdrift/Manifest @@ -3,7 +3,9 @@ DIST vdrift-2007-03-23-data-full.tar.bz2 230921162 RMD160 21bc5a5326e6f297b314f6 DIST vdrift-2007-03-23-data-minimal.tar.bz2 14647572 RMD160 f6838ad8c6bb75be6ee253e891f695b7d69df7a1 SHA1 c46a30bc85a30ce91fad6e7d615b0715b0c9a48a SHA256 2c1dc6f46d015051d3b47d10b69b857fc5d0debc28cb3249bf53648fd6734d97 DIST vdrift-2007-03-23-src.tar.bz2 1232857 RMD160 bd7fdbcd2bb76015eed1e09a6cc4bcc1df081f20 SHA1 0fd5ed65aa5b987c75d5214ab45384ce0e5d2132 SHA256 ed2d7d80663781604f56e307f9a77c19f255110673ad57e3ba917ea6c93c802a DIST vdrift-2008-08-05-src.tar.bz2 287073224 RMD160 515f0d50b5f8865dd4bbaee06b2918a9b8244bea SHA1 24d7695177eaaaf41746ab028ef866eaf7a26ed5 SHA256 79f91995a5a5b2c07e825d6ed8d3a034cc974b83a181d866347c8e837a1f649e +DIST vdrift-2009-02-15-src.tar.bz2 487794929 RMD160 5fe2cedad56432af1339ed9045bd4a752b20525b SHA1 d4c56bb7e3e8f9c9d52c3d29513f3a0b4b0c8e92 SHA256 3a4a66487b476b049004e9e11b0893ade6ad4317979cf11a0613b48f34a5143a EBUILD vdrift-20070323.ebuild 1697 RMD160 0100ef3d64f63bbb12989aee9c3fc45b4822c58c SHA1 e429adbd78c54e2e6ac740282c20f0c1e2234b74 SHA256 fc3d4f4f98c63a6ee805b3026e015c6a0290acdee1921a6beda440ec8ad96ccc EBUILD vdrift-20080805.ebuild 1921 RMD160 7b7564be59db64d984d28014d5dc217c31846106 SHA1 b6ff1e2016aa9f820cca6410f01047283fee96e2 SHA256 fdda7c89e800579289c101f7e8e9c5101aac4d2427e63d05d6018eb4b982e433 -MISC ChangeLog 965 RMD160 310f0105185f72812f4ecce869a0a00c0d274fa9 SHA1 20396c4909010ef265c4aaf917aefbe0b911aab4 SHA256 c3013e311a59ed527bafe50e480d41a4c48c1d72f04cc0346f5fcfea64a947e3 +EBUILD vdrift-20090215.ebuild 1768 RMD160 e1653f3d2b671ae507d8cf6ca1e5443c712ef0a6 SHA1 6dfeb8d01d8330566645316923e3d3205aa8c6bc SHA256 d167da755196c981cd178b297555b26b4a8722ab6e84ff25e390aa78639078e9 +MISC ChangeLog 1095 RMD160 a27a081d57091259d45dffb355e4be362be2c50a SHA1 1ae562612c41cef3f503bb0d3dcba5773ab1e680 SHA256 5690d72b4a9e1134b2f24d9b85cc3e0c6730ef1901d9b9ebca3d309c59379ca6 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 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 +} |