diff options
author | Tristan Heaven <tristan@gentoo.org> | 2007-07-25 15:05:05 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2007-07-25 15:05:05 +0000 |
commit | b190fb89e48aa57bfcb13bd0c79e153b5274ff81 (patch) | |
tree | 6c5a8ed3d076946c995eeff22ae2bdcff4be5e58 /games-sports | |
parent | Stable on amd64, security bug #186218 (diff) | |
download | historical-b190fb89e48aa57bfcb13bd0c79e153b5274ff81.tar.gz historical-b190fb89e48aa57bfcb13bd0c79e153b5274ff81.tar.bz2 historical-b190fb89e48aa57bfcb13bd0c79e153b5274ff81.zip |
Initial commit, bug #98094
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/vdrift/ChangeLog | 11 | ||||
-rw-r--r-- | games-sports/vdrift/Manifest | 32 | ||||
-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, 147 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..0ec52f75c7ca --- /dev/null +++ b/games-sports/vdrift/Manifest @@ -0,0 +1,32 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 1690 RMD160 403112be5683e895aa62ee14222c3eb59aa2094b SHA1 efe4a7d72979db663af4b0c2c26655dac4d8cb66 SHA256 3ab57a47115cdffb762344ba8fccd9c3cdd48d66ea4b89298a11e2a03063bbaa +MD5 7f429564fe761c88db7945239899c278 vdrift-20070323.ebuild 1690 +RMD160 403112be5683e895aa62ee14222c3eb59aa2094b vdrift-20070323.ebuild 1690 +SHA256 3ab57a47115cdffb762344ba8fccd9c3cdd48d66ea4b89298a11e2a03063bbaa vdrift-20070323.ebuild 1690 +MISC ChangeLog 399 RMD160 413997e502f7bffdbf1e3ff3065ee218b6644159 SHA1 e37a550efa15c57fbd670b8f70291e5fbeb2016b SHA256 2307d0f3cda433aebae11c10e48ce5e875bea36ff57c1d4be65d4477ccc1fe4f +MD5 df350c763291fed3fd1041750ced3778 ChangeLog 399 +RMD160 413997e502f7bffdbf1e3ff3065ee218b6644159 ChangeLog 399 +SHA256 2307d0f3cda433aebae11c10e48ce5e875bea36ff57c1d4be65d4477ccc1fe4f ChangeLog 399 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.5 (GNU/Linux) + +iD8DBQFGp2a4dz7hIScOURERAkNmAKCTXcY9AUCDkjEh7V5YbsHWRR+NygCgtiIA +77ZYaVAHAN3swAe6hd9d1xM= +=niOH +-----END PGP SIGNATURE----- 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 +} |