summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-11-06 04:13:45 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-11-06 04:13:45 +0000
commit56339c366aa6f0e313dc01db5afb7c9e9e1c01da (patch)
tree460a2d7f704d7e9dff16a2f6f00affbf4afe02a3 /sci-physics
parentRevbump to fix binary name, added ~arm keyword (diff)
downloadhistorical-56339c366aa6f0e313dc01db5afb7c9e9e1c01da.tar.gz
historical-56339c366aa6f0e313dc01db5afb7c9e9e1c01da.tar.bz2
historical-56339c366aa6f0e313dc01db5afb7c9e9e1c01da.zip
Version bump
Package-Manager: portage-2.2.0_alpha2/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/bullet/ChangeLog9
-rw-r--r--sci-physics/bullet/Manifest18
-rw-r--r--sci-physics/bullet/bullet-2.77.ebuild44
-rw-r--r--sci-physics/bullet/files/bullet-2.77-libdir.patch24
-rw-r--r--sci-physics/bullet/files/bullet-2.77-soversion.patch36
-rw-r--r--sci-physics/bullet/metadata.xml3
6 files changed, 131 insertions, 3 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/Manifest b/sci-physics/bullet/Manifest
index 6b3c0009cf2d..47d0019fa3ac 100644
--- a/sci-physics/bullet/Manifest
+++ b/sci-physics/bullet/Manifest
@@ -1,4 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX bullet-2.77-libdir.patch 1520 RMD160 84e00a82930fd9e42ce13403ff1351e89d9e33ff SHA1 f5c4ef08107be869530fd4ffcce7986987183241 SHA256 a11a211df3da3c144dcd60ff57eefd8f2ba935431f6dddb5e2acd055f5d57fc8
+AUX bullet-2.77-soversion.patch 2087 RMD160 35e74e29bc1f38a1c19eaaa4d658ce0cb059f47a SHA1 6d646dee3f76c30c31659317b9715324eacb0553 SHA256 798777a91d8597d8e9605acabf9c2e32fa36bb7479e7227ba35186ecbdddd6bf
DIST bullet-2.76.tgz 6193578 RMD160 2024f8674791e596dd6b605000dad8052a796eed SHA1 95043d586001387eab50cd773f4082e1a0d6f1b0 SHA256 99276578f52b59a9f3873ac1f654668d81029443644796daaeecbae1618385a3
+DIST bullet-2.77.tgz 6444239 RMD160 6fe822bf3150d33f0932fcb880d2d5a836d2cd88 SHA1 ff37c79efd8afd01b14c03154ad1c217e6ad3c09 SHA256 011b110f1d274496b6a340269b48ef1581ca0b4ca4365b28f154c236f4afcbaa
EBUILD bullet-2.76-r1.ebuild 1293 RMD160 4e5a7a71864aa0567f6a8f8e46bb76109c925df3 SHA1 f75382a8d12053b038f88235d86546621adfd4e5 SHA256 554b2776f1fdaa1bdfa03e376f3baf8de3f516aaaed7f0e36b9563f0868eb750
-MISC ChangeLog 2993 RMD160 85e3ae744941bf9ac3461562defd05e1613efc98 SHA1 65a89ccff65847bd888adc9da1b77f5ce6fe4a79 SHA256 428de706127729ff283e5027dda3ed8d0d44d05af8fa148937e3405257b56188
-MISC metadata.xml 350 RMD160 58e5a06b4029ee0ee2f2de5b1008fbb233beae23 SHA1 7a5d337c1364ca38a28378b7df86ac801b354ca7 SHA256 c2651cf06a3d9498dfb05e05b7899292a7a7fd0a45fd28e4f8eaa7bd2b88b726
+EBUILD bullet-2.77.ebuild 1061 RMD160 f49c781a1447015522a4d2acc8cc633b4752e3d5 SHA1 3148b111efc40a703a9e00bf1e50caa46e67e624 SHA256 04642523ae331d9d50c1b69e9067c506623ce1903a9ff1c966f31d4bc0ffc718
+MISC ChangeLog 3199 RMD160 fe6123ada8b22c7b482e1d5ee2c95bfbbdae91a7 SHA1 6dfd7e7cd6c7a9f2a78a3431993febe76aa9df83 SHA256 13fd22283a08f1b3bdc71547ec8d00daa3c8421d1555a8a38dc2c6a950fa5aff
+MISC metadata.xml 419 RMD160 7dbc36dd4d9ec9e913188edcdf53eb1e97ae7d4f SHA1 468604ba4c5de7feecf7dcb6fcad48e7f8c50c29 SHA256 09fba7b569e5b29f8046221011646fc5bd062e8ba76d8b161f3bf9e4befa622e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzU1gIACgkQ1ycZbhPLE2AygACeO4GMUSrzTTcFdY6f6zAMvMy8
+a7gAoIT/T4fMJixZFsdeKJbTNG8MvTQX
+=eZwk
+-----END PGP SIGNATURE-----
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>