summaryrefslogtreecommitdiff
path: root/games-sports/vdrift
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-sports/vdrift
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-sports/vdrift')
-rw-r--r--games-sports/vdrift/Manifest6
-rw-r--r--games-sports/vdrift/files/vdrift-20120722-build.patch28
-rw-r--r--games-sports/vdrift/files/vdrift-20120722-bullet.patch100
-rw-r--r--games-sports/vdrift/metadata.xml11
-rw-r--r--games-sports/vdrift/vdrift-20120722.ebuild70
5 files changed, 0 insertions, 215 deletions
diff --git a/games-sports/vdrift/Manifest b/games-sports/vdrift/Manifest
deleted file mode 100644
index 36c2d970f703..000000000000
--- a/games-sports/vdrift/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX vdrift-20120722-build.patch 1199 BLAKE2B 1731b61cdfb74c83e77e7b1fedd4ca970b6e73cf0223c818a79e35ac7869b89862d460066d6ac7608541dbe9bfe735fcfc29786f657bbbb98348fd3cb122a3f4 SHA512 4a12d2c3120d641668263dd7d8a2fb8b455e7f39ca33fabe85945fe6b7439f54d7cd2cf0b1752c7aae29d0b88c727f84f4e7092d3233bf5532c4db278b0eae39
-AUX vdrift-20120722-bullet.patch 3406 BLAKE2B 048d0f47b360bc63d6fc9d1d250b702ae3d452f46c64119076aa3fbcb3ea89af8d18af58215a1919c989203e5194412f94cd6f79bb37b0bd43d113e1b3029806 SHA512 aab973d586ae876b1f8fd528cdff80f97d5082954e616296604bd334694116fd4ce980698219e8a2c9662f50da9c5daf9ca9cc70ddd2a2f6795f0aa9673c7a71
-DIST vdrift-2012-07-22.tar.bz2 589288618 BLAKE2B ccdd6358f7d753a87eb8d9d0603001ab3ca6f5c8572348c300a75961f58eb624f4cd7df18b6d892554e0f6e96982de5d5d8aca4f59d8db7e95926d772a6d963f SHA512 eb6f243fd28e5fe46e856c37cb528c8ec903bdec91b6aa86681add79a333077a3a8874f694255913ae8492b965884f02057a95a98e37027ff67c082a8ca5527e
-DIST vdrift-2012-07-22c_patch.diff 21689 BLAKE2B de7575df09d434f41a4dd02554dd39f7b6ae13d676ae33c692c7aabc49764c25805efdf5cb89e0b5fb016e02b5e33b93977d588df87ff0923421b57cf2796026 SHA512 7b82ba53f3c19ccd01de9ea64e0b7e15224219c0c614a6505b2a3f552ce78565fdedf7781a198c58606d3e9b94e594dee79097d46687e7d4fc763868204b761d
-EBUILD vdrift-20120722.ebuild 1513 BLAKE2B 1d117dc7bd51f5c117533be62ffc40c7dd3defff50a085db0c9df5f7154b7aba26ab429e86f7d75077e9fb1a4208ae1ea10007dae40cae19fb0b27bab5c1cf41 SHA512 bb4b69538e274d9608fa705e5fa7f4e4add537f41e032275c9ec883a87905769fa6805a6eb0bd2509ea59340ea096f57aff19b56b3dc56b192f5531226e8503b
-MISC metadata.xml 329 BLAKE2B a2a266c4cff85fa8d76897b4b13687aa44b8f119aca3814b2646f62bc887acf6af3b18048006119ed374be304dfb8825c95d08852558545d36e44343cdff37f5 SHA512 c669371ccb3d0aee737982574fa3cbadba74d6e559fede3bfbac99d7f4f8c1e8e632a2659460008938c307b0e52dd66af357a3f65752c88d8735cf036046fcc0
diff --git a/games-sports/vdrift/files/vdrift-20120722-build.patch b/games-sports/vdrift/files/vdrift-20120722-build.patch
deleted file mode 100644
index 16b6fe4c9ba1..000000000000
--- a/games-sports/vdrift/files/vdrift-20120722-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- 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/files/vdrift-20120722-bullet.patch b/games-sports/vdrift/files/vdrift-20120722-bullet.patch
deleted file mode 100644
index 907433417ee6..000000000000
--- a/games-sports/vdrift/files/vdrift-20120722-bullet.patch
+++ /dev/null
@@ -1,100 +0,0 @@
---- src/cardynamics.cpp Mon Jan 19 23:26:36 1970
-+++ src/cardynamics.cpp Mon Jan 19 23:26:36 1970
-@@ -1791,23 +1791,29 @@
-
- bool CARDYNAMICS::WheelContactCallback(
- btManifoldPoint& cp,
-- const btCollisionObject* colObj0,
-- int partId0,
-+ const btCollisionObjectWrapper* col0,
-+ int part0,
- int index0,
-- const btCollisionObject* colObj1,
-- int partId1,
-+ const btCollisionObjectWrapper* col1,
-+ int part1,
- int index1)
- {
-- // cars are fracture bodies, wheel is a cylinder shape
-- const btCollisionShape* shape = colObj0->getCollisionShape();
-- if ((colObj0->getInternalType() & CO_FRACTURE_TYPE) &&
-+#if (BT_BULLET_VERSION < 281)
-+ const btCollisionObject* obj = col0;
-+ const btCollisionShape* shape = obj->getCollisionShape();
-+ const btCollisionShape* rootshape = obj->getRootCollisionShape();
-+#else
-+ const btCollisionObject* obj = col0->getCollisionObject();
-+ const btCollisionShape* shape = col0->getCollisionShape();
-+ const btCollisionShape* rootshape = obj->getCollisionShape();
-+#endif
-+ if ((obj->getInternalType() & CO_FRACTURE_TYPE) &&
- (shape->getShapeType() == CYLINDER_SHAPE_PROXYTYPE))
- {
-- // is contact within contact patch?
-- const btCompoundShape* car = static_cast<const btCompoundShape*>(colObj0->getRootCollisionShape());
-- const btCylinderShapeX* wheel = static_cast<const btCylinderShapeX*>(shape);
-- btVector3 contactPoint = cp.m_localPointA - car->getChildTransform(cp.m_index0).getOrigin();
-- if (-direction::up.dot(contactPoint) > 0.5 * wheel->getRadius())
-+ const btCompoundShape* carshape = static_cast<const btCompoundShape*>(rootshape);
-+ const btCylinderShapeX* wheelshape = static_cast<const btCylinderShapeX*>(shape);
-+ btVector3 contactPoint = cp.m_localPointA - carshape->getChildTransform(cp.m_index0).getOrigin();
-+ if (-direction::up.dot(contactPoint) > 0.5 * wheelshape->getRadius())
- {
- // break contact (hack)
- cp.m_normalWorldOnB = btVector3(0, 0, 0);
---- src/cardynamics.h Mon Jan 19 23:26:36 1970
-+++ src/cardynamics.h Mon Jan 19 23:26:36 1970
-@@ -25,6 +25,12 @@
- class FractureBody;
- class PTree;
-
-+#if (BT_BULLET_VERSION < 281)
-+#define btCollisionObjectWrapper btCollisionObject
-+#else
-+struct btCollisionObjectWrapper;
-+#endif
-+
- class CARDYNAMICS : public btActionInterface
- {
- friend class PERFORMANCE_TESTING;
-@@ -151,11 +157,11 @@
-
- static bool WheelContactCallback(
- btManifoldPoint& cp,
-- const btCollisionObject* colObj0,
-- int partId0,
-+ const btCollisionObjectWrapper* col0,
-+ int part0,
- int index0,
-- const btCollisionObject* colObj1,
-- int partId1,
-+ const btCollisionObjectWrapper* col1,
-+ int part1,
- int index1);
-
- protected:
---- src/dynamicsworld.cpp Mon Jan 19 23:26:36 1970
-+++ src/dynamicsworld.cpp Mon Jan 19 23:26:36 1970
-@@ -105,7 +105,7 @@
- int patch_id = -1;
- const BEZIER * b = 0;
- const TRACKSURFACE * s = TRACKSURFACE::None();
-- btCollisionObject * c = 0;
-+ const btCollisionObject * c = 0;
-
- MyRayResultCallback ray(origin, p, caster);
- rayTest(origin, p, ray);
-@@ -221,6 +221,7 @@
-
- void DynamicsWorld::fractureCallback()
- {
-+#if (BT_BULLET_VERSION < 281)
- m_activeConnections.resize(0);
-
- int numManifolds = getDispatcher()->getNumManifolds();
-@@ -268,4 +269,5 @@
- btRigidBody* child = body->updateConnection(con_id);
- if (child) addRigidBody(child);
- }
-+#endif
- } \ No newline at end of file
diff --git a/games-sports/vdrift/metadata.xml b/games-sports/vdrift/metadata.xml
deleted file mode 100644
index 873fcd84214e..000000000000
--- a/games-sports/vdrift/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">vdrift</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/games-sports/vdrift/vdrift-20120722.ebuild b/games-sports/vdrift/vdrift-20120722.ebuild
deleted file mode 100644
index c863bdfbb2ca..000000000000
--- a/games-sports/vdrift/vdrift-20120722.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 LGPL-2.1+"
-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 \
- "${FILESDIR}"/${P}-bullet.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
-}