diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-07-25 15:05:05 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-07-25 15:05:05 +0000 |
commit | 53a7a7ee58ba3e4c96e80f8b07f40dddee873a16 (patch) | |
tree | 3431ff6dfc4ffa3cf95b35439e52796df6a6f1af /games-sports/vdrift | |
parent | Stable on amd64, security bug #186218 (diff) | |
download | gentoo-2-53a7a7ee58ba3e4c96e80f8b07f40dddee873a16.tar.gz gentoo-2-53a7a7ee58ba3e4c96e80f8b07f40dddee873a16.tar.bz2 gentoo-2-53a7a7ee58ba3e4c96e80f8b07f40dddee873a16.zip |
Initial commit, bug #98094
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'games-sports/vdrift')
-rw-r--r-- | games-sports/vdrift/ChangeLog | 11 | ||||
-rw-r--r-- | games-sports/vdrift/Manifest | 22 | ||||
-rw-r--r-- | games-sports/vdrift/files/digest-vdrift-20070323 | 9 | ||||
-rw-r--r-- | games-sports/vdrift/files/vdrift-20070323-gcc42.patch | 20 | ||||
-rw-r--r-- | games-sports/vdrift/metadata.xml | 5 | ||||
-rw-r--r-- | games-sports/vdrift/vdrift-20070323.ebuild | 70 |
6 files changed, 137 insertions, 0 deletions
diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog new file mode 100644 index 000000000000..e137e966799c --- /dev/null +++ b/games-sports/vdrift/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-sports/vdrift +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.1 2007/07/25 15:05:05 nyhm Exp $ + +*vdrift-20070323 (25 Jul 2007) + + 25 Jul 2007; Tristan Heaven <nyhm@gentoo.org> + +files/vdrift-20070323-gcc42.patch, +metadata.xml, + +vdrift-20070323.ebuild: + Initial commit, bug #98094 + diff --git a/games-sports/vdrift/Manifest b/games-sports/vdrift/Manifest new file mode 100644 index 000000000000..e92cce0e2f6f --- /dev/null +++ b/games-sports/vdrift/Manifest @@ -0,0 +1,22 @@ +AUX vdrift-20070323-gcc42.patch 402 RMD160 978b82938faf904c557cbc1fc051774f94a7882c SHA1 acfdeb2adf14535b56e75ce2685b871539c676cd SHA256 e98efcdbcf80238136e41527eedd0ebad9d6b04f2e2c0788b11fe79c8deabeb9 +MD5 c3ea2a789ac4c383129cc9f206a2b072 files/vdrift-20070323-gcc42.patch 402 +RMD160 978b82938faf904c557cbc1fc051774f94a7882c files/vdrift-20070323-gcc42.patch 402 +SHA256 e98efcdbcf80238136e41527eedd0ebad9d6b04f2e2c0788b11fe79c8deabeb9 files/vdrift-20070323-gcc42.patch 402 +DIST vdrift-2007-03-23-data-full.tar.bz2 230921162 RMD160 21bc5a5326e6f297b314f6cab4aa0f3a842226f0 SHA1 0fcc67f689b0d7eb60496da9db09cbdb07fc0427 SHA256 52ff3e5cfd84bc1a958b9fee60a902d13b2154b39ff1e9c07987280894b2eb34 +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 +EBUILD vdrift-20070323.ebuild 1588 RMD160 177e4e9b94c2caf29848007d7e882be06c7237ff SHA1 181077abd136242b4636ef1061422c4ebb7c1690 SHA256 a97aa65b753fd147482dbc6247c13beede4d547d8eb786d6dbac9010762910fe +MD5 d7b7315d626002772ebb4d2a83b444ad vdrift-20070323.ebuild 1588 +RMD160 177e4e9b94c2caf29848007d7e882be06c7237ff vdrift-20070323.ebuild 1588 +SHA256 a97aa65b753fd147482dbc6247c13beede4d547d8eb786d6dbac9010762910fe vdrift-20070323.ebuild 1588 +MISC ChangeLog 310 RMD160 8eaf1a8968e007cfe99cb68a344d53cf9bca87e8 SHA1 0e4d33a267af01c80c8595378d480b1728e3838a SHA256 5fbf2cec34545b0ca8314a4e9cfd9a0b6bd976580c7f38bcd2cc26553880f6c1 +MD5 3efedaca4453713d7c26efe365ee2868 ChangeLog 310 +RMD160 8eaf1a8968e007cfe99cb68a344d53cf9bca87e8 ChangeLog 310 +SHA256 5fbf2cec34545b0ca8314a4e9cfd9a0b6bd976580c7f38bcd2cc26553880f6c1 ChangeLog 310 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 67c37b97e7d4a485a04dc1fcb288cae5 files/digest-vdrift-20070323 867 +RMD160 d1c9d5bd21b05b359f616e7dfb775eea246e754c files/digest-vdrift-20070323 867 +SHA256 8cf808ee6563bad3e0753205a790ea507e2e4660978e87af1c54e77414e480b7 files/digest-vdrift-20070323 867 diff --git a/games-sports/vdrift/files/digest-vdrift-20070323 b/games-sports/vdrift/files/digest-vdrift-20070323 new file mode 100644 index 000000000000..29909defdeb4 --- /dev/null +++ b/games-sports/vdrift/files/digest-vdrift-20070323 @@ -0,0 +1,9 @@ +MD5 2136ce2e347a018f2400e3f114e005fd vdrift-2007-03-23-data-full.tar.bz2 230921162 +RMD160 21bc5a5326e6f297b314f6cab4aa0f3a842226f0 vdrift-2007-03-23-data-full.tar.bz2 230921162 +SHA256 52ff3e5cfd84bc1a958b9fee60a902d13b2154b39ff1e9c07987280894b2eb34 vdrift-2007-03-23-data-full.tar.bz2 230921162 +MD5 c9d326bbe887402801a6c8f14505a8d7 vdrift-2007-03-23-data-minimal.tar.bz2 14647572 +RMD160 f6838ad8c6bb75be6ee253e891f695b7d69df7a1 vdrift-2007-03-23-data-minimal.tar.bz2 14647572 +SHA256 2c1dc6f46d015051d3b47d10b69b857fc5d0debc28cb3249bf53648fd6734d97 vdrift-2007-03-23-data-minimal.tar.bz2 14647572 +MD5 efc5c3c409923382035738798a6392e8 vdrift-2007-03-23-src.tar.bz2 1232857 +RMD160 bd7fdbcd2bb76015eed1e09a6cc4bcc1df081f20 vdrift-2007-03-23-src.tar.bz2 1232857 +SHA256 ed2d7d80663781604f56e307f9a77c19f255110673ad57e3ba917ea6c93c802a vdrift-2007-03-23-src.tar.bz2 1232857 diff --git a/games-sports/vdrift/files/vdrift-20070323-gcc42.patch b/games-sports/vdrift/files/vdrift-20070323-gcc42.patch new file mode 100644 index 000000000000..9654df583c54 --- /dev/null +++ b/games-sports/vdrift/files/vdrift-20070323-gcc42.patch @@ -0,0 +1,20 @@ +--- src/main.cpp ++++ src/main.cpp +@@ -976,7 +976,7 @@ + } + + // general OpenGL initialization function +-void InitGL( GLvoid ) ++void InitGL( void ) + { + //warning: this must be done BEFORE anything important + //or else it will override it +@@ -1150,7 +1150,7 @@ + } + + // Here goes our drawing code +-int drawGLScene( GLvoid ) ++int drawGLScene( void ) + { + glViewport(0,0,SCREEN_WIDTH, SCREEN_HEIGHT); + diff --git a/games-sports/vdrift/metadata.xml b/games-sports/vdrift/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-sports/vdrift/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/games-sports/vdrift/vdrift-20070323.ebuild b/games-sports/vdrift/vdrift-20070323.ebuild new file mode 100644 index 000000000000..23eed098ab67 --- /dev/null +++ b/games-sports/vdrift/vdrift-20070323.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20070323.ebuild,v 1.1 2007/07/25 15:05:05 nyhm Exp $ + +inherit eutils toolchain-funcs 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 + minimal? ( mirror://sourceforge/${PN}/${MY_P}-data-minimal.tar.bz2 ) + !minimal? ( mirror://sourceforge/${PN}/${MY_P}-data-full.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="minimal nls" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/freealut + media-libs/libsdl + media-libs/openal + media-libs/sdl-gfx + media-libs/sdl-image + media-libs/sdl-net + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/scons + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/build/${MY_P}-src + +src_unpack() { + unpack ${MY_P}-src.tar.bz2 + cd build + if use minimal ; then + unpack ${MY_P}-data-minimal.tar.bz2 + else + unpack ${MY_P}-data-full.tar.bz2 + fi + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc42.patch + sed -i '/-O2/d' SConstruct || die "sed failed" +} + +src_compile() { + tc-export CC CXX + scons \ + 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() { + scons install || die "scons install failed" + newicon data/textures/icons/vdrift-64x64.png ${PN}.png + make_desktop_entry ${PN} VDrift + dodoc docs/* + prepgamesdirs +} |