diff options
author | Roland Hautz <rhautz@kabelmail.de> | 2017-07-06 03:47:59 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-07-17 00:13:42 +0200 |
commit | dad3c1e75dbc8a8ecddc039a416c6f90f7a8d468 (patch) | |
tree | f3178dd40ac5be37548b2d62d5a2c35261bed8a4 /sci-physics | |
parent | app-emulation/vagrant: version bump to 1.9.6, drop old. (diff) | |
download | gentoo-dad3c1e75dbc8a8ecddc039a416c6f90f7a8d468.tar.gz gentoo-dad3c1e75dbc8a8ecddc039a416c6f90f7a8d468.tar.bz2 gentoo-dad3c1e75dbc8a8ecddc039a416c6f90f7a8d468.zip |
sci-physics/bullet: version bump to 2.86.
Gentoo-Bug: https://bugs.gentoo.org/611494
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/5048
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/bullet/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/bullet/bullet-2.86.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/sci-physics/bullet/Manifest b/sci-physics/bullet/Manifest index f840c00a612d..75aa5ecda224 100644 --- a/sci-physics/bullet/Manifest +++ b/sci-physics/bullet/Manifest @@ -1,3 +1,4 @@ DIST bullet-2.83.4.tar.gz 17529283 SHA256 2cf287cead9a116c56f6d6f15f73dc8b3ed1fe407ef2ca894027d585fab07341 SHA512 1a10a11671bd152835a45d44a1b3214e29c255338405705f2aaa41adfbdb545ec02f09b94003b836fafcc2b59b836e5b749696a5bb3489ec7050af0d02d9b2e1 WHIRLPOOL 7a472291128888fdd1c96e232b91d734ff10c2b6cf6ff0563bd3e6fa4c113112fe3f169dc0e42fee56aacf66b6717a10901f0c61c618a6c691bf1eb3cbcefbf2 DIST bullet-2.83.5.tar.gz 17759627 SHA256 df6d58898d3d3bf117854dd64467dbd09625e048624c797649b46bf1c595b152 SHA512 9e1ca7b3afb700bfafc2d39d8ec8b004b5bae7788385e763c15a63a7754c50bfd79e1a6ab501569b613eb5a9c132688c747aa70db0b80099cfe40b6146c32290 WHIRLPOOL 6c304902dd6bc9e800befe5c214adcec48e068e6db288ddf211ce17af74abd8ebc44a34ee1349a17bd22e1f9c316782d7680bb55566b4100b2f788377921be29 DIST bullet-2.85.tar.gz 24020355 SHA256 0dc3c9488c2b4176f916640ca57860d6689890d0f58c6fceed0f10ddc1fa082f SHA512 f13abb85864202161d1c19596e290735848a7de53ffe09aa8f656d80a523f6382c0f7864a104ee8c437cf88e0f593c4682ecbb87d74adfe1cc868c1a36d3ecea WHIRLPOOL 1c4c576df02633f53d255dad0f690e2e30e26604b95a87c79032ce8059b5705f7685af5cc832151c83d410624d41cc21ab35c38593c662ea0bd78ddb1247946c +DIST bullet-2.86.tar.gz 25806558 SHA256 e6e8b755280ce2c1a8218529eae5dd78e184f7036854229cea611374ad5a671f SHA512 af8a6b282ab606437d7975a59cd8a9c2bf273c83b0e79f0c4c1de6fa51695ba6d5f3c853dce2fdba9cb55e7572214e15089e54db51afc465ca26f502cbd5a4f9 WHIRLPOOL 210b772b1952ef5a8a3d1e95fb18ccd29e0b63b7b3aa5dc44e8130339a28f9d1e12e22cfbcceb3a3782f27ebff22775ea9e9f27093973178f7c2b560267becc2 diff --git a/sci-physics/bullet/bullet-2.86.ebuild b/sci-physics/bullet/bullet-2.86.ebuild new file mode 100644 index 000000000000..f3282b8ac898 --- /dev/null +++ b/sci-physics/bullet/bullet-2.86.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 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 + use examples && DOCS+=( examples ) + einstalldocs +} |