diff options
author | Johannes Huber <johu@gentoo.org> | 2016-05-18 15:42:18 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-05-18 16:03:33 +0200 |
commit | 66ef0203d4c540eb29b88a9ca47a71d54d5fa2dd (patch) | |
tree | 5096e0b3a3b9501276d23ccbdefa39f613d758d5 /kde-apps/kalzium/kalzium-16.04.1.ebuild | |
parent | app-misc/tmux: Add 2.1-r1 and ship terminfo file. (diff) | |
download | gentoo-66ef0203d4c540eb29b88a9ca47a71d54d5fa2dd.tar.gz gentoo-66ef0203d4c540eb29b88a9ca47a71d54d5fa2dd.tar.bz2 gentoo-66ef0203d4c540eb29b88a9ca47a71d54d5fa2dd.zip |
kde-apps: Version bump KDE Applications 16.04.1
Except KDE PIM which is not ready for production yet, which is available
(masked) in kde overlay.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'kde-apps/kalzium/kalzium-16.04.1.ebuild')
-rw-r--r-- | kde-apps/kalzium/kalzium-16.04.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/kde-apps/kalzium/kalzium-16.04.1.ebuild b/kde-apps/kalzium/kalzium-16.04.1.ebuild new file mode 100644 index 000000000000..d395f1d7c17e --- /dev/null +++ b/kde-apps/kalzium/kalzium-16.04.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="optional" +CPPUNIT_REQUIRED="optional" +OPENGL_REQUIRED="always" +inherit kde4-base flag-o-matic + +DESCRIPTION="Periodic table of the elements" +HOMEPAGE="https://www.kde.org/applications/education/kalzium +https://edu.kde.org/kalzium" +KEYWORDS="~amd64 ~x86" +IUSE="debug editor +plasma solver" + +DEPEND=" + editor? ( + dev-cpp/eigen:3 + sci-chemistry/avogadro + >=sci-chemistry/openbabel-2.2 + dev-qt/qtopengl:4 + ) + solver? ( dev-ml/facile[ocamlopt] ) +" +RDEPEND="${DEPEND} + sci-chemistry/chemical-mime-data +" + +src_configure(){ + # Fix missing finite() + [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H + + local mycmakeargs=( + -DBUILD_plasmoid=$(usex plasma) + -DWITH_Eigen3=$(usex editor) + -DWITH_Avogadro=$(usex editor) + -DWITH_OpenBabel2=$(usex editor) + -DWITH_OCaml=$(usex solver) + -DWITH_Libfacile=$(usex solver) + ) + + kde4-base_src_configure +} |