summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-06-27 18:12:33 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-06-27 18:12:33 +0000
commitfea31a2627c3ece1c98c26b3a8b18c09f46e084f (patch)
tree6db16812af229c50116199f5cb654f41a5fd9501 /sci-physics/bullet
parentadd ~arm, bug #407795 (diff)
downloadhistorical-fea31a2627c3ece1c98c26b3a8b18c09f46e084f.tar.gz
historical-fea31a2627c3ece1c98c26b3a8b18c09f46e084f.tar.bz2
historical-fea31a2627c3ece1c98c26b3a8b18c09f46e084f.zip
html docs are built with doxygen if doc flag is set, bug #421827, thanks Vitaly
Package-Manager: portage-2.2.01.20430-prefix/cvs/Linux x86_64
Diffstat (limited to 'sci-physics/bullet')
-rw-r--r--sci-physics/bullet/ChangeLog6
-rw-r--r--sci-physics/bullet/Manifest12
-rw-r--r--sci-physics/bullet/bullet-2.80.ebuild21
3 files changed, 28 insertions, 11 deletions
diff --git a/sci-physics/bullet/ChangeLog b/sci-physics/bullet/ChangeLog
index d9c1cca7220f..a9fdd205ac2f 100644
--- a/sci-physics/bullet/ChangeLog
+++ b/sci-physics/bullet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/bullet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.27 2012/05/22 17:28:09 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.28 2012/06/27 18:12:33 bicatali Exp $
+
+ 27 Jun 2012; Sebastien Fabbro <fabbros@gentoo.org> bullet-2.80.ebuild:
+ html docs are built with doxygen if doc flag is set, bug #421827, thanks
+ Vitaly
*bullet-2.80 (22 May 2012)
diff --git a/sci-physics/bullet/Manifest b/sci-physics/bullet/Manifest
index 38ad39c21355..04be0a692e55 100644
--- a/sci-physics/bullet/Manifest
+++ b/sci-physics/bullet/Manifest
@@ -10,13 +10,13 @@ DIST bullet-2.79-rev2440.tgz 7720240 RMD160 227d1c22c95a243b50482a2b485c633ab0b7
DIST bullet-2.80-rev2531.tgz 9561231 RMD160 121c041e72f223be40479a322d51aed0dcde0737 SHA1 65a7dbb852cc3b92f40d79a2a368233442747228 SHA256 464e2d79e3c5a5bdcad597ef6fca26d4244ad83628d8663e03be7c89d0342f36
EBUILD bullet-2.77.ebuild 1206 RMD160 53fee414f3f6bfb4d09e59df575bfcc374e7e32f SHA1 b6351362eef4b1999709516a2bda100943f6ecc9 SHA256 ad3954827ec4ff2c876aecebcbf1817b83b787cacb77a28aa1b6ff547126902e
EBUILD bullet-2.79-r1.ebuild 1127 RMD160 be288443f067c79c7e7a2f4741e5623a7574b0b5 SHA1 43600f3847319be6c32158c7c7bd0cb393116fc8 SHA256 b65e2d78e9ad796344fff141e7a74d4d9e7a214f882e6acdafa04b83e6ede48c
-EBUILD bullet-2.80.ebuild 1231 RMD160 70eb341276e2726669b178dc65296f9d2f154771 SHA1 2a649412f04988c45af3c658cf5008cd91eb16dd SHA256 dff8881de143c9a13c57e7da91370c64a8e36eae5f52ed5f6e4d8d881500f074
-MISC ChangeLog 4536 RMD160 ef383fde464558f129268eaeeb806a91d45b2d20 SHA1 2fcf7426200bfeeaa68528a6d7c0bdeb1ddaeb69 SHA256 bfefc2763ab62cdcfe4e90cb614d6bfd9bae770d57325514ea27c296c8dc6306
+EBUILD bullet-2.80.ebuild 1473 RMD160 4928fab2723b0e7fba1b8584c297dc16f051e0f7 SHA1 0bfd726c6ee75cb6512fbc459e5a45a678639bf3 SHA256 ef4c36ed5ed558ff543761da3c461a0b23162136b25d4a08685aa455d94bec56
+MISC ChangeLog 4694 RMD160 967cc1ed14f9ce6d5f01c214ee8f22fdb79a1f4c SHA1 90e595d317516a5d775ec2f2b958f88bf8f8715a SHA256 e42e5acf561b29c0013bde6bf380228726e5d027c04840bcb1dfcab62352835e
MISC metadata.xml 570 RMD160 e40656af846c53b4f86d1cb97459683483f369a5 SHA1 7743d62edd493f035e97a2d8c27c87b13a2c59b9 SHA256 539c0e2e02111f5c9d8eaa9ffbfa892f314426b313636863f8ab1ba936ed6619
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk+7zL8ACgkQ1ycZbhPLE2CNbQCfVhnEruYTQsTpTx3dPJsuLaRg
-SdcAoI3BsknPU730KKg4c/3eWK5AcWAn
-=L2fa
+iEYEARECAAYFAk/rTRYACgkQ1ycZbhPLE2A8yQCeMTsJYtBKs623MfC2GkMEN6Sc
+xLcAniM7rmSG++qZkwhJCROcHyiHCdCx
+=7ONT
-----END PGP SIGNATURE-----
diff --git a/sci-physics/bullet/bullet-2.80.ebuild b/sci-physics/bullet/bullet-2.80.ebuild
index 9f22f9f12dc3..b214a9721df0 100644
--- a/sci-physics/bullet/bullet-2.80.ebuild
+++ b/sci-physics/bullet/bullet-2.80.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/bullet-2.80.ebuild,v 1.1 2012/05/22 17:28:09 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/bullet-2.80.ebuild,v 1.2 2012/06/27 18:12:33 bicatali Exp $
EAPI=4
@@ -15,17 +15,23 @@ SRC_URI="http://bullet.googlecode.com/files/${MYP}.tgz"
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc double-precision examples extras"
RDEPEND="virtual/opengl
media-libs/freeglut"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen[dot] )"
PATCHES=( "${FILESDIR}"/${PN}-2.78-soversion.patch )
S="${WORKDIR}/${MYP}"
+src_prepare() {
+ # allow to generate docs
+ sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die
+}
+
src_configure() {
mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
@@ -40,9 +46,16 @@ src_configure() {
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 *.pdf
+ use doc && dodoc *.pdf && dohtml -r html
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r Extras Demos