From a761d3fdac410e93a37386c586c46781750bb922 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 1 Sep 2014 00:20:24 +0000 Subject: version bump (bug #434148) Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 --- games-sports/vdrift/ChangeLog | 9 ++- games-sports/vdrift/Manifest | 16 ++--- .../vdrift/files/vdrift-20120722-build.patch | 28 +++++++++ games-sports/vdrift/vdrift-20120722.ebuild | 70 ++++++++++++++++++++++ 4 files changed, 110 insertions(+), 13 deletions(-) create mode 100644 games-sports/vdrift/files/vdrift-20120722-build.patch create mode 100644 games-sports/vdrift/vdrift-20120722.ebuild (limited to 'games-sports') diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog index bac0d96af899..15a173df9b01 100644 --- a/games-sports/vdrift/ChangeLog +++ b/games-sports/vdrift/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-sports/vdrift # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.22 2014/05/15 11:46:29 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.23 2014/09/01 00:20:19 mr_bones_ Exp $ + +*vdrift-20120722 (01 Sep 2014) + + 01 Sep 2014; Michael Sterrett + +files/vdrift-20120722-build.patch, +vdrift-20120722.ebuild: + version bump (bug #434148) 15 May 2014; Tupone Alfredo vdrift-20111022.ebuild, +files/vdrift-20111022-bullet282.patch: @@ -92,4 +98,3 @@ +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 index 53ca5f06fa7b..7b7713a92854 100644 --- a/games-sports/vdrift/Manifest +++ b/games-sports/vdrift/Manifest @@ -1,19 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX vdrift-20090615-ldflags.patch 876 SHA256 7e4a0992213e2f472edbf7f79f1a67583de8a308d848b9cbd9ee27845b853aa0 SHA512 f23f4c0e3c33dfe699b382749b49642b724347d11f5110bf4a954938f1ce0c38a7efcda3fed096d2cf874b514221de18826168e2fb4e29a248282050b1d016ee WHIRLPOOL 4a27e5a6e8f4fa74939a27a95623d585b77f4cbe9998d9935433b8a743f1ff949b9aee2c2d27d5f3673b62dc802bc5075d4368ca33ce813c8d47480a24b022b8 AUX vdrift-20111022-build.patch 1274 SHA256 fd443f5207c025ff5d89ff35596ecf7da8ae54eceb5a2fded2bb4f30eb68994e SHA512 c0a2fe15fd3df7f71e1d081befedec06f312c6dc72a19419e13d997ad4a69a902926116ba8fc252bb95b224ac9610b0542291bab64b9e9d1266432a4a7160023 WHIRLPOOL ed94bb22a643c8eb038e899be161f6e27cb1538b97dd982955bb989b2c8c728c9073ced8d5e0f21269fd33278c1e6a881237f45acbf2a1abd1054ff180fb57d3 AUX vdrift-20111022-bullet282.patch 381 SHA256 af1d1f165960a3299077e951fe83fb0a55e96e0972600c4ecf7c9a5432d0ffc7 SHA512 0dc9af2b0abee445d7216a1224e6854c471e50f867411b10f37e7bed076cf643737bfeb79df4c37f2c36cb5aa101dc37343a521df8006d3dcf6035d7820ac6ba WHIRLPOOL acea570458ef48fc1b48e23d6945026e6b0f17d289303d05ea619ff4f83b3359a8b502b7eec441cff11a23f5f07f3be411ea2a86665a0e7baf3ba937885b5800 +AUX vdrift-20120722-build.patch 1199 SHA256 25b95cdb59f4edc0263a2a0bc54d661b559c80eb979e6a6af369903dc0a3bb32 SHA512 4a12d2c3120d641668263dd7d8a2fb8b455e7f39ca33fabe85945fe6b7439f54d7cd2cf0b1752c7aae29d0b88c727f84f4e7092d3233bf5532c4db278b0eae39 WHIRLPOOL a3048f6a25b020ed155f5d36da2095484a273bf25a08e99f6352bd961b7093aa49f144ecb318d803321a40942d3c2f28d835c0be96aec92497b3fcae615d83bc DIST vdrift-2009-06-15-src.tar.bz2 502507126 SHA256 14c87f25e9dea2dc51f991a6c14e5f7122ec5b56df416327ba3ca383e20c11b9 SHA512 53b91da0f772c18cecd2ea5be81fbea99cfc093ee15443b13704f1603b429e2e61daf43f4f111005286c0861601fc547648931b8e0c6a4baac1df38430596a7b WHIRLPOOL 247475fff234d1d6028bf8feff5446fc29a577e65a72372844a0e1129b0ad62f0eff863b6199d347a351e28f40933545dcd5a2344d8d439b50eed34d3b0da8fc DIST vdrift-2011-10-22.tar.bz2 591243241 SHA256 1a0dff7aa003276c0984d34f329e619bb2e7b4b07d9a21a6b17449904ad8e16d SHA512 de036f97e0f24af2602765801aff2057ce5b6398b93927655417fafcc37b7e03b809681765a10edba8edd532c0b6dbba12538021721a4f411708d3717d0736b8 WHIRLPOOL 29fc955f600256296b99f906d7de52feebf1efa0afc4b089d784f079c627da93cbde3ad22dbe8b2a87dd514915d8bc69c5060c3d8aac15b7025c880ac07cc703 +DIST vdrift-2012-07-22.tar.bz2 589288618 SHA256 5409feea1d9eb3d943f49ecc265b73f3283a00036e055038f5e5114dfc6113fb SHA512 eb6f243fd28e5fe46e856c37cb528c8ec903bdec91b6aa86681add79a333077a3a8874f694255913ae8492b965884f02057a95a98e37027ff67c082a8ca5527e WHIRLPOOL 7488cbc64b1fefca9d16267a623afd08b1fb2bd02af13b0c12cdbc9a2cc18f8965a796b2d8222e85826a277aaf17d8f9adda4e2b9621e6b7779fcb3546f140dd +DIST vdrift-2012-07-22c_patch.diff 21689 SHA256 3e669ac2ce6da04548bb53b63694d21fd83cd8971e3f268031d7ffd93b79ae22 SHA512 7b82ba53f3c19ccd01de9ea64e0b7e15224219c0c614a6505b2a3f552ce78565fdedf7781a198c58606d3e9b94e594dee79097d46687e7d4fc763868204b761d WHIRLPOOL f24a7acb58d711d6bf4cda04ff4be1990c241399effdc821ecc8330bfd04a9067a048a840db9be7cabd1c6ca1b7051b003d548b87b2a1bb7d5000afdeb4e0a03 EBUILD vdrift-20090615.ebuild 1654 SHA256 59546c1ecc55ed122f2403e06c0c46086183c1c9d0510be7efcc6514a2a29fc6 SHA512 82244743e9c294f4020c395092276aa3aaa8d2b40607a4c4bd3076d740e9df4f41da8e5a8029681393cf4bdb030a939470f508e6709c4adce2ba7a1592984dd7 WHIRLPOOL a1248d308101d53d4ee1b9de0991af36b5ba06dc848dd1d0864f033a8fb2627065fa14e8078bbc1c75c54b7c83241568f674d56b6f7266ee25c59a96e5157f68 EBUILD vdrift-20111022.ebuild 1497 SHA256 43e42afee1713fc99ec46ab8356ea42d9c04f8796a6ecf19ae9137b2874f4287 SHA512 aff615a10e44ede62cfbd826cf4eb4f423443098df70b69f73472f8caec13fefd4424eb3e57acfbd40ae31f24c4873c5de766a8ec8a9fb261b690ed56abb0008 WHIRLPOOL a340280a67f1d03e6ae9a7357d12975032fb6eaee6bd2eb695381c59d5adad727de8a574ce580a81f15499941d5ce5a4bcf97800cbd7fc70ab1ca65b21f1dbe7 -MISC ChangeLog 3135 SHA256 1ba2c1853a3fe27e914494a0547e05a3cdcaf5830b34d596103f772498a4e446 SHA512 ea57bcd0700c3e0904b9c19451f3eb82bdeadcf5c740920b1bf52af2512bcd9070a6c0e30f263424ee900c4fd0453cf9307df9fcbe34c776b1bd9698058cd98d WHIRLPOOL 783b6a95da45ba30d5138aa5ad6390e15c889fec56a74ee18e9fe53f128cc29bbb933f0f469e8bfd4c3e53ef09c931b8234ccd22ba470630723cce2aac0d722e +EBUILD vdrift-20120722.ebuild 1587 SHA256 ffd3bf032d466b58f8dd9ce96fe3a0029678bb7e982b2f17bcebb0ef7807ad92 SHA512 c16edd268856ee87ce878c345522974caaa6199db624e0d05b6a9079bb1095a05f2e02fc1548b94b769832f5045b1905224ea052340eef445b5b0a21aa4b8a2b WHIRLPOOL e4ba3d0b31d0287f24b46d65535223eec847c9a7faeccb04ab4f5a7f58522fa7827e788a87f44811c1f4cfdb4faa92e92de57551e6ec1f157940a9b00e7bc006 +MISC ChangeLog 3317 SHA256 3ad9aba5d55505b1bfd087e04b07ef4bc7570189f60259e43bdf1ef906c2fa2d SHA512 d59703fa84c6cb5326adbf5ef2b75af487ebf5102d7064373be9dbb4229c288099075f459980d6e25162f050ce15b98363522e96d3b46d0c9adb348ae706604d WHIRLPOOL 71ebc9651f4709d144c0bba60276b8c048417222bb13c98fc609f7009b8a05266955df253dfea877e3d84a46006e0da2e6c73b3528f5e540f178d6e4d5ea8faf MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iEYEAREIAAYFAlN0qRYACgkQIY77eQFFFC0s/QCgj1dLf8i7yScEzuCxR7Ko6GSp -+IwAoN0ltYnTMQKSfZR8GzpzjhgXIpQT -=r1Cp ------END PGP SIGNATURE----- diff --git a/games-sports/vdrift/files/vdrift-20120722-build.patch b/games-sports/vdrift/files/vdrift-20120722-build.patch new file mode 100644 index 000000000000..16b6fe4c9ba1 --- /dev/null +++ b/games-sports/vdrift/files/vdrift-20120722-build.patch @@ -0,0 +1,28 @@ +--- VDrift.orig/SConstruct ++++ VDrift/SConstruct +@@ -44,6 +44,7 @@ + LIBPATH = ['.', '#lib', LOCALBASE + '/lib'], + LINKFLAGS = ['-pthread','-lintl'], + options = opts) ++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) + check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_rotozoom.h', 'vorbis/vorbisfile.h', 'GL/glew.h', 'bullet/btBulletCollisionCommon.h'] + check_libs = [] + if 'CC' in os.environ: +@@ -380,7 +381,7 @@ + if env['release']: + # release build, debugging off, optimizations on + if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8') and (sys.platform != 'freebsd9') and (sys.platform != 'win32') and (sys.platform != 'cygwin'): +- env.Append(CCFLAGS = ['-O1', '-pipe']) ++ env.Append(CCFLAGS = ['-pipe']) + else: + # debug build, lots of debugging, no optimizations + env.Append(CCFLAGS = ['-g3']) +@@ -399,7 +400,6 @@ + env.Append(CCFLAGS = ['-pg']) + env.Append(LINKFLAGS = ['-pg']) + env.Append(CCFLAGS = ['-g3']) +- env.Append(CCFLAGS = ['-O1']) + + #------------------------------------# + # compile-time efficiency assessment # + diff --git a/games-sports/vdrift/vdrift-20120722.ebuild b/games-sports/vdrift/vdrift-20120722.ebuild new file mode 100644 index 000000000000..c31d3347ec1b --- /dev/null +++ b/games-sports/vdrift/vdrift-20120722.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20120722.ebuild,v 1.1 2014/09/01 00:20:19 mr_bones_ Exp $ + +EAPI=5 +inherit eutils scons-utils games + +MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2} +DESCRIPTION="A driving simulation made with drift racing in mind" +HOMEPAGE="http://vdrift.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 + mirror://sourceforge/${PN}/${MY_P}c_patch.diff" + +LICENSE="GPL-3 ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="app-arch/libarchive + media-libs/glew + media-libs/libsdl[opengl,video] + media-libs/sdl-gfx + media-libs/sdl-image[png] + media-libs/libvorbis + net-misc/curl + sci-physics/bullet[-double-precision] + virtual/opengl + virtual/glu" +DEPEND="${RDEPEND} + dev-cpp/asio + dev-libs/boost + virtual/pkgconfig" + +S=${WORKDIR}/VDrift + +src_unpack() { + unpack ${MY_P}.tar.bz2 +} + +src_prepare() { + epatch \ + "${DISTDIR}"/${MY_P}c_patch.diff \ + "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + escons \ + force_feedback=1 \ + destdir="${D}" \ + bindir="${GAMES_BINDIR}" \ + datadir="${GAMES_DATADIR}"/${PN} \ + prefix= \ + use_binreloc=0 \ + release=1 \ + os_cc=1 \ + os_cxx=1 \ + os_cxxflags=1 \ + || die +} + +src_install() { + dogamesbin build/vdrift + insinto "${GAMES_DATADIR}/${PN}" + doins -r data/* + newicon data/textures/icons/vdrift-64x64.png ${PN}.png + make_desktop_entry ${PN} VDrift + find "${D}" -name "SCon*" -exec rm \{\} + + keepdir "${GAMES_DATADIR}"/${PN}/{music,settings/replays,settings/screenshots} + prepgamesdirs +} -- cgit v1.2.3-65-gdbad