diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-11-06 04:13:45 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-11-06 04:13:45 +0000 |
commit | d7beed2c90f72db725d8829476c233aae6be08b9 (patch) | |
tree | 04568132e69a97585082a6d931d7e2f62c95a1b1 /sci-physics/bullet | |
parent | Revbump to fix binary name, added ~arm keyword (diff) | |
download | gentoo-2-d7beed2c90f72db725d8829476c233aae6be08b9.tar.gz gentoo-2-d7beed2c90f72db725d8829476c233aae6be08b9.tar.bz2 gentoo-2-d7beed2c90f72db725d8829476c233aae6be08b9.zip |
Version bump
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/bullet')
-rw-r--r-- | sci-physics/bullet/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/bullet/bullet-2.77.ebuild | 44 | ||||
-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/metadata.xml | 3 |
5 files changed, 115 insertions, 1 deletions
diff --git a/sci-physics/bullet/ChangeLog b/sci-physics/bullet/ChangeLog index 5f7830a14b4b..a526f0dd1be9 100644 --- a/sci-physics/bullet/ChangeLog +++ b/sci-physics/bullet/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-physics/bullet # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.17 2010/09/16 17:31:03 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.18 2010/11/06 04:13:45 bicatali Exp $ + +*bullet-2.77 (06 Nov 2010) + + 06 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +bullet-2.77.ebuild, + +files/bullet-2.77-libdir.patch, +files/bullet-2.77-soversion.patch, + metadata.xml: + Version bump 16 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> bullet-2.76-r1.ebuild: diff --git a/sci-physics/bullet/bullet-2.77.ebuild b/sci-physics/bullet/bullet-2.77.ebuild new file mode 100644 index 000000000000..788e1339526b --- /dev/null +++ b/sci-physics/bullet/bullet-2.77.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/bullet-2.77.ebuild,v 1.1 2010/11/06 04:13:45 bicatali Exp $ + +EAPI=2 +inherit eutils cmake-utils + +DESCRIPTION="Continuous Collision Detection and Physics Library" +HOMEPAGE="http://www.bulletphysics.com/" +SRC_URI="http://bullet.googlecode.com/files/${P}.tgz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples extras" + +RDEPEND="virtual/opengl + media-libs/freeglut" +DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}/${P}"-{libdir,soversion}.patch ) + +src_configure() { + mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_DEMOS=OFF + -DINSTALL_LIBS=ON + -DINSTALL_EXTRA_LIBS=ON + $(cmake-utils_use_build extras EXTRAS) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc README ChangeLog AUTHORS + if use doc; then + insinto /usr/share/doc/${PF} + doins *.pdf || die + fi + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Extras Demos || die + fi +} 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/metadata.xml b/sci-physics/bullet/metadata.xml index fff1dddb8ce3..dd4eb83e604f 100644 --- a/sci-physics/bullet/metadata.xml +++ b/sci-physics/bullet/metadata.xml @@ -7,4 +7,7 @@ 3D Collision Detection and Rigid Body Dynamics Library for games and animation. </longdescription> +<use> + <flag name='extras'>Build additional libraries</flag> +</use> </pkgmetadata> |