Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kalzium: ChangeLog kalzium-4.0.2.ebuild
Date: Tue, 11 Mar 2008 03:01:21
Message-Id: E1JYrIt-0000mX-Up@stork.gentoo.org
1 philantrop 08/03/10 23:21:11
2
3 Modified: ChangeLog
4 Added: kalzium-4.0.2.ebuild
5 Log:
6 Version bump to KDE 4.0.2.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.88 kde-base/kalzium/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?rev=1.88&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?rev=1.88&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?r1=1.87&r2=1.88
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v
19 retrieving revision 1.87
20 retrieving revision 1.88
21 diff -u -r1.87 -r1.88
22 --- ChangeLog 4 Mar 2008 03:34:03 -0000 1.87
23 +++ ChangeLog 10 Mar 2008 23:21:11 -0000 1.88
24 @@ -1,6 +1,12 @@
25 # ChangeLog for kde-base/kalzium
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.87 2008/03/04 03:34:03 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.88 2008/03/10 23:21:11 philantrop Exp $
29 +
30 +*kalzium-4.0.2 (10 Mar 2008)
31 +
32 + 10 Mar 2008; Wulf C. Krueger <philantrop@g.o>
33 + +kalzium-4.0.2.ebuild:
34 + Version bump to KDE 4.0.2
35
36 04 Mar 2008; Jeroen Roovers <jer@g.o> kalzium-3.5.8.ebuild,
37 kalzium-3.5.9.ebuild, kalzium-4.0.1.ebuild:
38
39
40
41 1.1 kde-base/kalzium/kalzium-4.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/kalzium-4.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/kalzium-4.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kalzium-4.0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-4.0.2.ebuild,v 1.1 2008/03/10 23:21:11 philantrop Exp $
51
52 EAPI="1"
53
54 KMNAME=kdeedu
55 CPPUNIT_REQUIRED="optional"
56 inherit kde4-meta
57
58 DESCRIPTION="KDE: periodic table of the elements."
59 KEYWORDS="~amd64 ~x86"
60 IUSE="${IUSE} cviewer debug htmlhandbook solver"
61
62 COMMONDEPEND=">=kde-base/libkdeedu-${PV}:${SLOT}
63 cviewer? ( >=dev-cpp/eigen-1.0.5
64 >=sci-chemistry/openbabel-2.1
65 || ( x11-libs/qt-opengl:4
66 >=x11-libs/qt-4.3.3:4 )
67 virtual/opengl )"
68 DEPEND="${DEPEND} ${COMMONDEPEND}
69 solver? ( dev-ml/facile )"
70 RDEPEND="${RDEPEND} ${COMMONDEPEND}"
71
72 KMEXTRACTONLY="libkdeedu/kdeeduui libkdeedu/libscience"
73
74 pkg_setup() {
75 if use cviewer && has_version '<x11-libs/qt-4.4.0_alpha:4'; then
76 QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} opengl"
77 fi
78
79 if use solver && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
80 eerror "In order to build the solver for ${PN}, you first need"
81 eerror "to have dev-lang/ocaml built with the ocamlopt useflag"
82 eerror "in order to get a native code ocaml compiler"
83 die "Please install dev-lang/ocaml with ocamlopt support"
84 fi
85 if use solver && ! built_with_use --missing true dev-ml/facile ocamlopt; then
86 eerror "In order to build the solver for ${PN}, you first need"
87 eerror "to have dev-ml/facile built with the ocamlopt useflag"
88 eerror "in order to get the native code library"
89 die "Please install dev-ml/facile with ocamlopt support"
90 fi
91
92 kde4-meta_pkg_setup
93 }
94
95 src_compile() {
96 if use solver ; then
97 # Compile the solver on its own as the cmake-based build is
98 # currently broken. Fixes bug 206620.
99 cd "${S}/${PN}/src/solver"
100 emake || die "compiling the ocaml resolver failed"
101 mkdir -p "${WORKDIR}/${PN}_build/${PN}/src/"
102 cp * "${WORKDIR}/${PN}_build/${PN}/src/"
103 fi
104
105 mycmakeargs="${mycmakeargs}
106 $(cmake-utils_use_with cviewer Eigen)
107 $(cmake-utils_use_with cviewer OpenBabel2)
108 $(cmake-utils_use_with cviewer OpenGL)
109 $(cmake-utils_use_with solver OCaml)
110 $(cmake-utils_use_with solver Libfacile)"
111
112 kde4-meta_src_compile
113 }
114
115
116
117 --
118 gentoo-commits@l.g.o mailing list