1 |
commit: dad3c1e75dbc8a8ecddc039a416c6f90f7a8d468 |
2 |
Author: Roland Hautz <rhautz <AT> kabelmail <DOT> de> |
3 |
AuthorDate: Thu Jul 6 01:47:59 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 16 22:13:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dad3c1e7 |
7 |
|
8 |
sci-physics/bullet: version bump to 2.86. |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/611494 |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/5048 |
14 |
|
15 |
sci-physics/bullet/Manifest | 1 + |
16 |
sci-physics/bullet/bullet-2.86.ebuild | 72 +++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 73 insertions(+) |
18 |
|
19 |
diff --git a/sci-physics/bullet/Manifest b/sci-physics/bullet/Manifest |
20 |
index f840c00a612..75aa5ecda22 100644 |
21 |
--- a/sci-physics/bullet/Manifest |
22 |
+++ b/sci-physics/bullet/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST bullet-2.83.4.tar.gz 17529283 SHA256 2cf287cead9a116c56f6d6f15f73dc8b3ed1fe407ef2ca894027d585fab07341 SHA512 1a10a11671bd152835a45d44a1b3214e29c255338405705f2aaa41adfbdb545ec02f09b94003b836fafcc2b59b836e5b749696a5bb3489ec7050af0d02d9b2e1 WHIRLPOOL 7a472291128888fdd1c96e232b91d734ff10c2b6cf6ff0563bd3e6fa4c113112fe3f169dc0e42fee56aacf66b6717a10901f0c61c618a6c691bf1eb3cbcefbf2 |
25 |
DIST bullet-2.83.5.tar.gz 17759627 SHA256 df6d58898d3d3bf117854dd64467dbd09625e048624c797649b46bf1c595b152 SHA512 9e1ca7b3afb700bfafc2d39d8ec8b004b5bae7788385e763c15a63a7754c50bfd79e1a6ab501569b613eb5a9c132688c747aa70db0b80099cfe40b6146c32290 WHIRLPOOL 6c304902dd6bc9e800befe5c214adcec48e068e6db288ddf211ce17af74abd8ebc44a34ee1349a17bd22e1f9c316782d7680bb55566b4100b2f788377921be29 |
26 |
DIST bullet-2.85.tar.gz 24020355 SHA256 0dc3c9488c2b4176f916640ca57860d6689890d0f58c6fceed0f10ddc1fa082f SHA512 f13abb85864202161d1c19596e290735848a7de53ffe09aa8f656d80a523f6382c0f7864a104ee8c437cf88e0f593c4682ecbb87d74adfe1cc868c1a36d3ecea WHIRLPOOL 1c4c576df02633f53d255dad0f690e2e30e26604b95a87c79032ce8059b5705f7685af5cc832151c83d410624d41cc21ab35c38593c662ea0bd78ddb1247946c |
27 |
+DIST bullet-2.86.tar.gz 25806558 SHA256 e6e8b755280ce2c1a8218529eae5dd78e184f7036854229cea611374ad5a671f SHA512 af8a6b282ab606437d7975a59cd8a9c2bf273c83b0e79f0c4c1de6fa51695ba6d5f3c853dce2fdba9cb55e7572214e15089e54db51afc465ca26f502cbd5a4f9 WHIRLPOOL 210b772b1952ef5a8a3d1e95fb18ccd29e0b63b7b3aa5dc44e8130339a28f9d1e12e22cfbcceb3a3782f27ebff22775ea9e9f27093973178f7c2b560267becc2 |
28 |
|
29 |
diff --git a/sci-physics/bullet/bullet-2.86.ebuild b/sci-physics/bullet/bullet-2.86.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..f3282b8ac89 |
32 |
--- /dev/null |
33 |
+++ b/sci-physics/bullet/bullet-2.86.ebuild |
34 |
@@ -0,0 +1,72 @@ |
35 |
+# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit cmake-utils |
41 |
+ |
42 |
+DESCRIPTION="Continuous Collision Detection and Physics Library" |
43 |
+HOMEPAGE="http://www.bulletphysics.com/" |
44 |
+SRC_URI="https://github.com/bulletphysics/bullet3/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="ZLIB" |
47 |
+SLOT="0/${PV}" |
48 |
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="+bullet3 doc double-precision examples extras test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ virtual/opengl |
53 |
+ media-libs/freeglut" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ ${RDEPEND} |
57 |
+ doc? ( app-doc/doxygen[dot] )" |
58 |
+ |
59 |
+PATCHES=( "${FILESDIR}"/${PN}-2.85-soversion.patch ) |
60 |
+ |
61 |
+DOCS=( AUTHORS.txt LICENSE.txt README.md ) |
62 |
+ |
63 |
+# Building / linking of third Party library BussIK does not work out of the box |
64 |
+RESTRICT="test" |
65 |
+ |
66 |
+S="${WORKDIR}/${PN}3-${PV}" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ cmake-utils_src_prepare |
70 |
+ |
71 |
+ # allow to generate docs |
72 |
+ sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ local mycmakeargs=( |
77 |
+ -DBUILD_SHARED_LIBS=ON |
78 |
+ -DBUILD_CPU_DEMOS=OFF |
79 |
+ -DBUILD_OPENGL3_DEMOS=OFF |
80 |
+ -DBUILD_BULLET2_DEMOS=OFF |
81 |
+ -DUSE_GRAPHICAL_BENCHMARK=OFF |
82 |
+ -DINSTALL_LIBS=ON |
83 |
+ -DINSTALL_EXTRA_LIBS=ON |
84 |
+ -DBUILD_BULLET3=$(usex bullet3) |
85 |
+ -DBUILD_EXTRAS=$(usex extras) |
86 |
+ -DUSE_DOUBLE_PRECISION=$(usex double-precision) |
87 |
+ -DBUILD_UNIT_TESTS=$(usex test) |
88 |
+ ) |
89 |
+ cmake-utils_src_configure |
90 |
+} |
91 |
+ |
92 |
+src_compile() { |
93 |
+ cmake-utils_src_compile |
94 |
+ |
95 |
+ if use doc; then |
96 |
+ doxygen || die |
97 |
+ HTML_DOCS+=( html/. ) |
98 |
+ DOCS+=( docs/*.pdf ) |
99 |
+ fi |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ cmake-utils_src_install |
104 |
+ use examples && DOCS+=( examples ) |
105 |
+ einstalldocs |
106 |
+} |