mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-physics/bullet: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST bullet-2.83.4.tar.gz 17529283 BLAKE2B 0666bbcea656d1033bfe10b3acf9dc7692512510595e7e525c192c58e565c146246b9089cec863f161e6968a1d3ceeb4a9d390856feb746d78efdcd256a06324 SHA512 1a10a11671bd152835a45d44a1b3214e29c255338405705f2aaa41adfbdb545ec02f09b94003b836fafcc2b59b836e5b749696a5bb3489ec7050af0d02d9b2e1
|
||||
DIST bullet-2.83.5.tar.gz 17759627 BLAKE2B e461c2fc266b97d84908fba7bc49a3d6ecb64b951162d4029fddfb0b27a83d56b65313d2078a099ffed6eda113aee27fcd738d38b3495ccf4aa4274c2a229bd6 SHA512 9e1ca7b3afb700bfafc2d39d8ec8b004b5bae7788385e763c15a63a7754c50bfd79e1a6ab501569b613eb5a9c132688c747aa70db0b80099cfe40b6146c32290
|
||||
DIST bullet-2.85.tar.gz 24020355 BLAKE2B 658970bf33b78e27733ec5862a94bbe8873da7794b1f95ddbcbc3a9094d0c9de1bf5c212194a487938ed7448dc22d5cee1fb0306b0efdb204a016807cec0e8f2 SHA512 f13abb85864202161d1c19596e290735848a7de53ffe09aa8f656d80a523f6382c0f7864a104ee8c437cf88e0f593c4682ecbb87d74adfe1cc868c1a36d3ecea
|
||||
DIST bullet-2.86.tar.gz 25806558 BLAKE2B a8576d8dacd67b9789d32d7b1acc6c4025df3c15427c60d66f98b1906eee8b2b94e5b0108b9a8c00ca6261510ccaf57ba5c02c72fee8f528d4f723b304166731 SHA512 af8a6b282ab606437d7975a59cd8a9c2bf273c83b0e79f0c4c1de6fa51695ba6d5f3c853dce2fdba9cb55e7572214e15089e54db51afc465ca26f502cbd5a4f9
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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() {
|
||||
cmake-utils_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
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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() {
|
||||
cmake-utils_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
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit 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 test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/opengl
|
||||
media-libs/freeglut"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen[dot] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.85-soversion.patch )
|
||||
|
||||
DOCS=( AUTHORS.txt LICENSE.txt README.md )
|
||||
|
||||
# Building / linking of third Party library BussIK does not work out of the box
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}3-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_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
|
||||
-DBUILD_BULLET3=$(usex bullet3)
|
||||
-DBUILD_EXTRAS=$(usex extras)
|
||||
-DUSE_DOUBLE_PRECISION=$(usex double-precision)
|
||||
-DBUILD_UNIT_TESTS=$(usex test)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use doc; then
|
||||
doxygen || die
|
||||
HTML_DOCS+=( html/. )
|
||||
DOCS+=( docs/*.pdf )
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user