/[gentoo-x86]/kde-apps/kalzium/kalzium-4.14.3.ebuild
Gentoo

Contents of /kde-apps/kalzium/kalzium-4.14.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jun 4 18:44:49 2015 UTC (4 years, 4 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Moved package from kde-base to kde-apps.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-4.14.3.ebuild,v 1.5 2015/02/17 11:06:44 ago Exp $
4
5 EAPI=5
6
7 KDE_HANDBOOK="optional"
8 CPPUNIT_REQUIRED="optional"
9 OPENGL_REQUIRED="always"
10 inherit kde4-base flag-o-matic
11
12 DESCRIPTION="KDE: periodic table of the elements"
13 HOMEPAGE="http://www.kde.org/applications/education/kalzium
14 http://edu.kde.org/kalzium"
15 KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
16 IUSE="editor debug +plasma solver"
17
18 DEPEND="
19 $(add_kdeapps_dep libkdeedu)
20 editor? (
21 >=dev-cpp/eigen-2.0.3:2
22 sci-chemistry/avogadro
23 >=sci-chemistry/openbabel-2.2
24 )
25 solver? ( dev-ml/facile[ocamlopt] )
26 "
27 RDEPEND=${DEPEND}
28
29 KMEXTRACTONLY="
30 libkdeedu/kdeeduui/
31 libkdeedu/libscience/
32 "
33
34 src_configure(){
35 # Fix missing finite()
36 [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
37
38 local mycmakeargs=(
39 $(cmake-utils_use_with editor Eigen2)
40 $(cmake-utils_use_with editor Avogadro)
41 $(cmake-utils_use_with editor OpenBabel2)
42 $(cmake-utils_use_with editor OpenGL)
43 $(cmake-utils_use_with solver OCaml)
44 $(cmake-utils_use_with solver Libfacile)
45 )
46
47 kde4-base_src_configure
48 }

  ViewVC Help
Powered by ViewVC 1.1.20