Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/bullet: bullet-2.82.ebuild ChangeLog
Date: Sun, 23 Feb 2014 02:36:13
Message-Id: 20140223023607.858182004E@flycatcher.gentoo.org
1 bicatali 14/02/23 02:36:07
2
3 Modified: ChangeLog
4 Added: bullet-2.82.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.35 sci-physics/bullet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/bullet/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/bullet/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/bullet/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 4 Mar 2013 22:32:13 -0000 1.34
24 +++ ChangeLog 23 Feb 2014 02:36:07 -0000 1.35
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-physics/bullet
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.34 2013/03/04 22:32:13 bicatali Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.35 2014/02/23 02:36:07 bicatali Exp $
31 +
32 +*bullet-2.82 (23 Feb 2014)
33 +
34 + 23 Feb 2014; Sébastien Fabbro <bicatali@g.o> +bullet-2.82.ebuild:
35 + Version bump
36
37 *bullet-2.81 (04 Mar 2013)
38
39
40
41
42 1.1 sci-physics/bullet/bullet-2.82.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/bullet/bullet-2.82.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/bullet/bullet-2.82.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bullet-2.82.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/bullet-2.82.ebuild,v 1.1 2014/02/23 02:36:07 bicatali Exp $
52
53 EAPI=5
54
55 inherit eutils cmake-utils
56
57 # version release, check http://code.google.com/p/bullet/downloads/list
58 MYP=${P}-r2704
59
60 DESCRIPTION="Continuous Collision Detection and Physics Library"
61 HOMEPAGE="http://www.bulletphysics.com/"
62 SRC_URI="http://bullet.googlecode.com/files/${MYP}.tgz"
63
64 LICENSE="ZLIB"
65 SLOT="0/${PV}"
66 KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
67 IUSE="doc double-precision examples extras"
68
69 RDEPEND="
70 virtual/opengl
71 media-libs/freeglut"
72 DEPEND="${RDEPEND}
73 doc? ( app-doc/doxygen[dot] )"
74
75 PATCHES=( "${FILESDIR}"/${PN}-2.78-soversion.patch )
76
77 S="${WORKDIR}/${MYP}"
78
79 src_prepare() {
80 # allow to generate docs
81 sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die
82 }
83
84 src_configure() {
85 local mycmakeargs=(
86 -DBUILD_SHARED_LIBS=ON
87 -DBUILD_CPU_DEMOS=OFF
88 -DBUILD_DEMOS=OFF
89 -DUSE_GRAPHICAL_BENCHMARK=OFF
90 -DINSTALL_LIBS=ON
91 -DINSTALL_EXTRA_LIBS=ON
92 $(cmake-utils_use_build extras EXTRAS)
93 $(cmake-utils_use_use double-precision DOUBLE_PRECISION)
94 )
95 cmake-utils_src_configure
96 }
97
98 src_compile() {
99 cmake-utils_src_compile
100 if use doc; then
101 doxygen || die
102 fi
103 }
104
105 src_install() {
106 cmake-utils_src_install
107 use doc && dodoc *.pdf && dohtml -r html/*
108 if use examples; then
109 insinto /usr/share/doc/${PF}/examples
110 doins -r Extras Demos
111 fi
112 }