diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-physics/bullet | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-physics/bullet')
-rw-r--r-- | sci-physics/bullet/Manifest | 4 | ||||
-rw-r--r-- | sci-physics/bullet/bullet-2.80.ebuild | 63 | ||||
-rw-r--r-- | sci-physics/bullet/bullet-2.81.ebuild | 64 | ||||
-rw-r--r-- | sci-physics/bullet/bullet-2.82.ebuild | 64 | ||||
-rw-r--r-- | sci-physics/bullet/bullet-2.83.4.ebuild | 63 | ||||
-rw-r--r-- | sci-physics/bullet/files/bullet-2.77-gcc46.patch | 47 | ||||
-rw-r--r-- | sci-physics/bullet/files/bullet-2.77-libdir.patch | 24 | ||||
-rw-r--r-- | sci-physics/bullet/files/bullet-2.77-soversion.patch | 36 | ||||
-rw-r--r-- | sci-physics/bullet/files/bullet-2.78-soversion.patch | 44 | ||||
-rw-r--r-- | sci-physics/bullet/metadata.xml | 19 |
10 files changed, 428 insertions, 0 deletions
diff --git a/sci-physics/bullet/Manifest b/sci-physics/bullet/Manifest new file mode 100644 index 000000000000..659ad7796d26 --- /dev/null +++ b/sci-physics/bullet/Manifest @@ -0,0 +1,4 @@ +DIST bullet-2.80-rev2531.tgz 9561231 SHA256 464e2d79e3c5a5bdcad597ef6fca26d4244ad83628d8663e03be7c89d0342f36 SHA512 ca61182b20f692a0163aa230d6025b0dc1863ecdd5f6f3c80589a41997464a347ef1b1ab4923a2136a68d5b42ff864e98a9aa00da8bc493a1339bf309a876cca WHIRLPOOL 3186449ffea858b33cf606bee3c27e15dda4fb945d21d75b4ad4dfdf849181526bef06e0d3b35fc51b27815d229472a9b95f85b108b79315c251811105e0755a +DIST bullet-2.81-rev2613.tgz 8297547 SHA256 8ac9079803a6f793801727ccddb0b98becea3efe92fd6590cf38b9cb8bbc1eed SHA512 5f77d4ea123bca06a390e27f5028d67b1f328c65d16711448cca885bc66de37bdef3024397603140e28e8fe68679cc596aa9a4ee617fc2a913f23d4c5c0f52a3 WHIRLPOOL 91894b76cb3cd4239f91305860cf78152c323df05c4b1d77bb8564cd2badb8a7e811f8dcf7e10f9b04db5345787b3c2cb0163d0ef9c77aa716e69307a235873a +DIST bullet-2.82-r2704.tgz 7937108 SHA256 67e4c9eb76f7adf99501d726d8ad5e9b525dfd0843fbce9ca73aaca4ba9eced2 SHA512 44bec0bd74e6d9cd8c75a41d0faa068dc05f0cdad92ff001cc53ff29912db245606827a9e763ce2cf1b551b545668a779fdc4455f73c1901b57aaa4eee31901f WHIRLPOOL 181c6bf35ba28333f66fba52faff2e7bfc634a702df4c9925123160d89058602e354e9c21a82c86fc166fab55254a70739e37220d28968a989ed94a52a6f7e39 +DIST bullet-2.83.4.tar.gz 17529283 SHA256 2cf287cead9a116c56f6d6f15f73dc8b3ed1fe407ef2ca894027d585fab07341 SHA512 1a10a11671bd152835a45d44a1b3214e29c255338405705f2aaa41adfbdb545ec02f09b94003b836fafcc2b59b836e5b749696a5bb3489ec7050af0d02d9b2e1 WHIRLPOOL 7a472291128888fdd1c96e232b91d734ff10c2b6cf6ff0563bd3e6fa4c113112fe3f169dc0e42fee56aacf66b6717a10901f0c61c618a6c691bf1eb3cbcefbf2 diff --git a/sci-physics/bullet/bullet-2.80.ebuild b/sci-physics/bullet/bullet-2.80.ebuild new file mode 100644 index 000000000000..ef97ddf709bc --- /dev/null +++ b/sci-physics/bullet/bullet-2.80.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils cmake-utils + +# version release, check http://code.google.com/p/bullet/downloads/list +MYP=${P}-rev2531 + +DESCRIPTION="Continuous Collision Detection and Physics Library" +HOMEPAGE="http://www.bulletphysics.com/" +SRC_URI="http://bullet.googlecode.com/files/${MYP}.tgz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="doc double-precision examples extras" + +RDEPEND="virtual/opengl + media-libs/freeglut" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +PATCHES=( "${FILESDIR}"/${PN}-2.78-soversion.patch ) + +S="${WORKDIR}/${MYP}" + +src_prepare() { + # allow to generate docs + sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_CPU_DEMOS=OFF + -DBUILD_DEMOS=OFF + -DUSE_GRAPHICAL_BENCHMARK=OFF + -DINSTALL_LIBS=ON + -DINSTALL_EXTRA_LIBS=ON + $(cmake-utils_use_build extras EXTRAS) + $(cmake-utils_use_use double-precision DOUBLE_PRECISION) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + doxygen || die + fi +} + +src_install() { + cmake-utils_src_install + use doc && dodoc *.pdf && dohtml -r html/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Extras Demos + fi +} diff --git a/sci-physics/bullet/bullet-2.81.ebuild b/sci-physics/bullet/bullet-2.81.ebuild new file mode 100644 index 000000000000..a094785a735c --- /dev/null +++ b/sci-physics/bullet/bullet-2.81.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils cmake-utils + +# version release, check http://code.google.com/p/bullet/downloads/list +MYP=${P}-rev2613 + +DESCRIPTION="Continuous Collision Detection and Physics Library" +HOMEPAGE="http://www.bulletphysics.com/" +SRC_URI="http://bullet.googlecode.com/files/${MYP}.tgz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc double-precision examples extras" + +RDEPEND=" + virtual/opengl + media-libs/freeglut" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +PATCHES=( "${FILESDIR}"/${PN}-2.78-soversion.patch ) + +S="${WORKDIR}/${MYP}" + +src_prepare() { + # allow to generate docs + sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_CPU_DEMOS=OFF + -DBUILD_DEMOS=OFF + -DUSE_GRAPHICAL_BENCHMARK=OFF + -DINSTALL_LIBS=ON + -DINSTALL_EXTRA_LIBS=ON + $(cmake-utils_use_build extras EXTRAS) + $(cmake-utils_use_use double-precision DOUBLE_PRECISION) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + doxygen || die + fi +} + +src_install() { + cmake-utils_src_install + use doc && dodoc *.pdf && dohtml -r html/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Extras Demos + fi +} diff --git a/sci-physics/bullet/bullet-2.82.ebuild b/sci-physics/bullet/bullet-2.82.ebuild new file mode 100644 index 000000000000..4f4c049f98ba --- /dev/null +++ b/sci-physics/bullet/bullet-2.82.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils cmake-utils + +# version release, check http://code.google.com/p/bullet/downloads/list +MYP=${P}-r2704 + +DESCRIPTION="Continuous Collision Detection and Physics Library" +HOMEPAGE="http://www.bulletphysics.com/" +SRC_URI="http://bullet.googlecode.com/files/${MYP}.tgz" + +LICENSE="ZLIB" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc double-precision examples extras" + +RDEPEND=" + virtual/opengl + media-libs/freeglut" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +PATCHES=( "${FILESDIR}"/${PN}-2.78-soversion.patch ) + +S="${WORKDIR}/${MYP}" + +src_prepare() { + # allow to generate docs + sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_CPU_DEMOS=OFF + -DBUILD_DEMOS=OFF + -DUSE_GRAPHICAL_BENCHMARK=OFF + -DINSTALL_LIBS=ON + -DINSTALL_EXTRA_LIBS=ON + $(cmake-utils_use_build extras EXTRAS) + $(cmake-utils_use_use double-precision DOUBLE_PRECISION) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + doxygen || die + fi +} + +src_install() { + cmake-utils_src_install + use doc && dodoc *.pdf && dohtml -r html/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Extras Demos + fi +} diff --git a/sci-physics/bullet/bullet-2.83.4.ebuild b/sci-physics/bullet/bullet-2.83.4.ebuild new file mode 100644 index 000000000000..c714c7226a8d --- /dev/null +++ b/sci-physics/bullet/bullet-2.83.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils cmake-utils + +DESCRIPTION="Continuous Collision Detection and Physics Library" +HOMEPAGE="http://www.bulletphysics.com/" +SRC_URI="https://github.com/bulletphysics/bullet3/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+bullet3 doc double-precision examples extras" + +RDEPEND=" + virtual/opengl + media-libs/freeglut" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +PATCHES=( "${FILESDIR}"/${PN}-2.78-soversion.patch ) + +S="${WORKDIR}/${PN}3-${PV}" + +src_prepare() { + # allow to generate docs + sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_CPU_DEMOS=OFF + -DBUILD_OPENGL3_DEMOS=OFF + -DBUILD_BULLET2_DEMOS=OFF + -DUSE_GRAPHICAL_BENCHMARK=OFF + -DINSTALL_LIBS=ON + -DINSTALL_EXTRA_LIBS=ON + $(cmake-utils_use_build bullet3 BULLET3) + $(cmake-utils_use_build extras EXTRAS) + $(cmake-utils_use_use double-precision DOUBLE_PRECISION) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + doxygen || die + fi +} + +src_install() { + cmake-utils_src_install + use doc && dodoc docs/*.pdf && dohtml -r html/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Extras examples + fi +} diff --git a/sci-physics/bullet/files/bullet-2.77-gcc46.patch b/sci-physics/bullet/files/bullet-2.77-gcc46.patch new file mode 100644 index 000000000000..9ef054836e33 --- /dev/null +++ b/sci-physics/bullet/files/bullet-2.77-gcc46.patch @@ -0,0 +1,47 @@ + src/BulletSoftBody/btSoftBody.h | 3 +++ + src/BulletSoftBody/btSoftBodyInternals.h | 4 ++-- + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/src/BulletSoftBody/btSoftBody.h b/src/BulletSoftBody/btSoftBody.h +index 4d975b7..f781598 100644 +--- a/src/BulletSoftBody/btSoftBody.h ++++ b/src/BulletSoftBody/btSoftBody.h +@@ -30,6 +30,7 @@ subject to the following restrictions: + class btBroadphaseInterface; + class btDispatcher; + ++class btSoftBodySolver; + + /* btSoftBodyWorldInfo */ + struct btSoftBodyWorldInfo +@@ -52,6 +53,8 @@ class btSoftBody : public btCollisionObject + public: + btAlignedObjectArray<class btCollisionObject*> m_collisionDisabledObjects; + ++ // The solver object that handles this soft body ++ btSoftBodySolver *m_softBodySolver; + // + // Enumerations + // +diff --git a/src/BulletSoftBody/btSoftBodyInternals.h b/src/BulletSoftBody/btSoftBodyInternals.h +index 2cb7744..296d97a 100644 +--- a/src/BulletSoftBody/btSoftBodyInternals.h ++++ b/src/BulletSoftBody/btSoftBodyInternals.h +@@ -26,6 +26,7 @@ subject to the following restrictions: + #include "BulletCollision/CollisionShapes/btConvexInternalShape.h" + #include "BulletCollision/NarrowPhaseCollision/btGjkEpa2.h" + ++#include <string.h> //for memset + // + // btSymMatrix + // +@@ -172,8 +173,7 @@ public: + template <typename T> + static inline void ZeroInitialize(T& value) + { +- static const T zerodummy; +- value=zerodummy; ++ memset(&value,0,sizeof(T)); + } + // + template <typename T> diff --git a/sci-physics/bullet/files/bullet-2.77-libdir.patch b/sci-physics/bullet/files/bullet-2.77-libdir.patch new file mode 100644 index 000000000000..9575addbb58c --- /dev/null +++ b/sci-physics/bullet/files/bullet-2.77-libdir.patch @@ -0,0 +1,24 @@ +diff -up bullet-2.77/src/BulletMultiThreaded/CMakeLists.txt.lib bullet-2.77/src/BulletMultiThreaded/CMakeLists.txt +--- bullet-2.77/src/BulletMultiThreaded/CMakeLists.txt.lib 2010-10-08 12:45:59.000000000 +0200 ++++ bullet-2.77/src/BulletMultiThreaded/CMakeLists.txt 2010-10-08 12:46:26.000000000 +0200 +@@ -84,7 +84,7 @@ IF (INSTALL_LIBS) + IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK) + INSTALL(TARGETS BulletMultiThreaded DESTINATION .) + ELSE (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK) +- INSTALL(TARGETS BulletMultiThreaded DESTINATION lib) ++ INSTALL(TARGETS BulletMultiThreaded DESTINATION lib${LIB_SUFFIX}) + INSTALL(DIRECTORY + ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${INCLUDE_INSTALL_DIR} FILES_MATCHING + PATTERN "*.h" PATTERN ".svn" EXCLUDE PATTERN "CMakeFiles" EXCLUDE) +diff -up bullet-2.77/src/MiniCL/CMakeLists.txt.lib bullet-2.77/src/MiniCL/CMakeLists.txt +--- bullet-2.77/src/MiniCL/CMakeLists.txt.lib 2010-10-08 12:44:50.000000000 +0200 ++++ bullet-2.77/src/MiniCL/CMakeLists.txt 2010-10-08 12:46:42.000000000 +0200 +@@ -32,7 +32,7 @@ IF (INSTALL_LIBS)
+ IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
+ INSTALL(TARGETS MiniCL DESTINATION .)
+ ELSE (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
+- INSTALL(TARGETS MiniCL DESTINATION lib)
++ INSTALL(TARGETS MiniCL DESTINATION lib${LIB_SUFFIX})
+ INSTALL(DIRECTORY
+ ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${INCLUDE_INSTALL_DIR} FILES_MATCHING
+ PATTERN "*.h" PATTERN ".svn" EXCLUDE PATTERN "CMakeFiles" EXCLUDE)
diff --git a/sci-physics/bullet/files/bullet-2.77-soversion.patch b/sci-physics/bullet/files/bullet-2.77-soversion.patch new file mode 100644 index 000000000000..6086640790ac --- /dev/null +++ b/sci-physics/bullet/files/bullet-2.77-soversion.patch @@ -0,0 +1,36 @@ +diff -up bullet-2.77/Extras/glui/CMakeLists.txt.extras-version bullet-2.77/Extras/glui/CMakeLists.txt +--- bullet-2.77/Extras/glui/CMakeLists.txt.extras-version 2010-03-06 16:23:36.000000000 +0100 ++++ bullet-2.77/Extras/glui/CMakeLists.txt 2010-07-26 12:09:01.000000000 +0200 +@@ -61,6 +61,8 @@ arcball.cpp glui_button.cpp glui_fil + + ) + ++SET_TARGET_PROPERTIES(GLUI PROPERTIES VERSION ${BULLET_VERSION}) ++SET_TARGET_PROPERTIES(GLUI PROPERTIES SOVERSION ${BULLET_VERSION}) + IF (BUILD_SHARED_LIBS) + TARGET_LINK_LIBRARIES(GLUI ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}) + ENDIF (BUILD_SHARED_LIBS) +diff -up bullet-2.77/Extras/Serialize/BulletFileLoader/CMakeLists.txt.extras-version bullet-2.77/Extras/Serialize/BulletFileLoader/CMakeLists.txt +--- bullet-2.77/Extras/Serialize/BulletFileLoader/CMakeLists.txt.extras-version 2010-07-26 12:10:36.000000000 +0200 ++++ bullet-2.77/Extras/Serialize/BulletFileLoader/CMakeLists.txt 2010-07-26 12:10:57.000000000 +0200 +@@ -16,6 +16,8 @@ btBulletFile.cpp + btBulletFile.h + ) + ++SET_TARGET_PROPERTIES(BulletFileLoader PROPERTIES VERSION ${BULLET_VERSION}) ++SET_TARGET_PROPERTIES(BulletFileLoader PROPERTIES SOVERSION ${BULLET_VERSION}) + IF (BUILD_SHARED_LIBS) + TARGET_LINK_LIBRARIES(BulletFileLoader LinearMath) + ENDIF (BUILD_SHARED_LIBS) +diff -up bullet-2.77/Extras/Serialize/BulletWorldImporter/CMakeLists.txt.extras-version bullet-2.77/Extras/Serialize/BulletWorldImporter/CMakeLists.txt +--- bullet-2.77/Extras/Serialize/BulletWorldImporter/CMakeLists.txt.extras-version 2010-07-26 12:11:08.000000000 +0200 ++++ bullet-2.77/Extras/Serialize/BulletWorldImporter/CMakeLists.txt 2010-07-26 12:11:26.000000000 +0200 +@@ -9,6 +9,8 @@ btBulletWorldImporter.cpp + btBulletWorldImporter.h + ) + ++SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES VERSION ${BULLET_VERSION}) ++SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES SOVERSION ${BULLET_VERSION}) + IF (BUILD_SHARED_LIBS) + TARGET_LINK_LIBRARIES(BulletWorldImporter BulletDynamics BulletCollision BulletFileLoader LinearMath) + ENDIF (BUILD_SHARED_LIBS) diff --git a/sci-physics/bullet/files/bullet-2.78-soversion.patch b/sci-physics/bullet/files/bullet-2.78-soversion.patch new file mode 100644 index 000000000000..b54ffa777ee3 --- /dev/null +++ b/sci-physics/bullet/files/bullet-2.78-soversion.patch @@ -0,0 +1,44 @@ + Extras/Serialize/BulletFileLoader/CMakeLists.txt | 2 ++ + .../Serialize/BulletWorldImporter/CMakeLists.txt | 2 ++ + Extras/glui/CMakeLists.txt | 2 ++ + 3 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/Extras/Serialize/BulletFileLoader/CMakeLists.txt b/Extras/Serialize/BulletFileLoader/CMakeLists.txt +index 486cfdc..f1e0884 100644 +--- a/Extras/Serialize/BulletFileLoader/CMakeLists.txt ++++ b/Extras/Serialize/BulletFileLoader/CMakeLists.txt +@@ -16,6 +16,8 @@ btBulletFile.cpp + btBulletFile.h + ) + ++SET_TARGET_PROPERTIES(BulletFileLoader PROPERTIES VERSION ${BULLET_VERSION}) ++SET_TARGET_PROPERTIES(BulletFileLoader PROPERTIES SOVERSION ${BULLET_VERSION}) + IF (BUILD_SHARED_LIBS) + TARGET_LINK_LIBRARIES(BulletFileLoader LinearMath) + ENDIF (BUILD_SHARED_LIBS) +diff --git a/Extras/Serialize/BulletWorldImporter/CMakeLists.txt b/Extras/Serialize/BulletWorldImporter/CMakeLists.txt +index e620315..e04e8e9 100644 +--- a/Extras/Serialize/BulletWorldImporter/CMakeLists.txt ++++ b/Extras/Serialize/BulletWorldImporter/CMakeLists.txt +@@ -9,6 +9,8 @@ btBulletWorldImporter.cpp + btBulletWorldImporter.h + ) + ++SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES VERSION ${BULLET_VERSION}) ++SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES SOVERSION ${BULLET_VERSION}) + IF (BUILD_SHARED_LIBS) + TARGET_LINK_LIBRARIES(BulletWorldImporter BulletDynamics BulletCollision BulletFileLoader LinearMath) + ENDIF (BUILD_SHARED_LIBS) +diff --git a/Extras/glui/CMakeLists.txt b/Extras/glui/CMakeLists.txt +index c2018a7..9a8d90f 100644 +--- a/Extras/glui/CMakeLists.txt ++++ b/Extras/glui/CMakeLists.txt +@@ -61,6 +61,8 @@ arcball.cpp glui_button.cpp glui_filebrowser.cpp glui_node.cpp glui_separ + + ) + ++SET_TARGET_PROPERTIES(GLUI PROPERTIES VERSION ${BULLET_VERSION}) ++SET_TARGET_PROPERTIES(GLUI PROPERTIES SOVERSION ${BULLET_VERSION}) + IF (BUILD_SHARED_LIBS) + TARGET_LINK_LIBRARIES(GLUI ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}) + ENDIF (BUILD_SHARED_LIBS) diff --git a/sci-physics/bullet/metadata.xml b/sci-physics/bullet/metadata.xml new file mode 100644 index 000000000000..6c25c6b5e58a --- /dev/null +++ b/sci-physics/bullet/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-physics</herd> + <longdescription lang="en"> + Bullet is a professional open source multi-threaded + 3D Collision Detection and Rigid Body Dynamics Library + for games and animation. +</longdescription> + <use> + <flag name="bullet3">Build Bullet 3</flag> + <flag name="double-precision">Build libraries in double precision</flag> + <flag name="extras">Build additional libraries</flag> + </use> + <upstream> + <remote-id type="google-code">bullet</remote-id> + <remote-id type="github">bulletphysics/bullet3</remote-id> + </upstream> +</pkgmetadata> |