summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-20 18:15:30 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-26 00:11:58 +1100
commitb0db5d580b55bd526d8c5f47a48bc2cb0b641b1f (patch)
tree499e18b5c2706f317beb84a22b66d1a205c70567 /kde-apps/kalzium
parentkde-apps/kblocks: Drop old (diff)
downloadgentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.gz
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.bz2
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.zip
kde-apps: Move kdeedu-meta 15.12.3 from kde overlay
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r--kde-apps/kalzium/Manifest1
-rw-r--r--kde-apps/kalzium/kalzium-15.12.3-r1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index ca92e9d8a15a..8f78dd6cf5bc 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1 +1,2 @@
+DIST kalzium-15.12.3.tar.xz 3944560 SHA256 a1c2a052997db83ccf3ad827330d7227cb6b34d56225762cb45e7e3641512c53 SHA512 70808cd3df8b15941146444410f75c955dc925417a89e4b77612680d2a0bda53124e3c44e2b632c095408287db5481c32535a608b48e938d22a43b624073a271 WHIRLPOOL 03d538cebab06c24725a06ebee29fb79fc46ac25a261594a6e2d2eb69664ea5e88067831dd5c21f938ab40483806132c2c0106beef783d6e9766f99017e6c27c
DIST kalzium-4.14.3.tar.xz 3944960 SHA256 4b8d086c942874c56b4835079991f2d86289d163d2dbb3e86390270c758317e5 SHA512 11f6f06379571cb92a7cb0c13d068596b2cbe014a5974dce628ac138c20f50ca5c207c4b6328c0c4d83dadf75d43455ce6794564933f2520dc1589570ddada94 WHIRLPOOL 50d392d8aac63dcc7143db1b2dd3e7e7c411f6457d4005b5313a0043bf68178f12c20b60e278697687aca28720b2759522c2f135dd1143873149bb4c3a754234
diff --git a/kde-apps/kalzium/kalzium-15.12.3-r1.ebuild b/kde-apps/kalzium/kalzium-15.12.3-r1.ebuild
new file mode 100644
index 000000000000..33f5630df872
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-15.12.3-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="optional"
+CPPUNIT_REQUIRED="optional"
+OPENGL_REQUIRED="always"
+inherit kde4-base flag-o-matic
+
+DESCRIPTION="KDE: periodic table of the elements"
+HOMEPAGE="https://www.kde.org/applications/education/kalzium
+https://edu.kde.org/kalzium"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="editor debug solver"
+
+DEPEND="
+ editor? (
+ >=dev-cpp/eigen-2.0.3:2
+ sci-chemistry/avogadro
+ >=sci-chemistry/openbabel-2.2
+ )
+ solver? ( dev-ml/facile[ocamlopt] )
+"
+RDEPEND=${DEPEND}
+
+KMEXTRACTONLY="
+ libkdeedu/kdeeduui/
+ libkdeedu/libscience/
+"
+
+src_configure(){
+ # Fix missing finite()
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
+
+ local mycmakeargs=(
+ $(cmake-utils_use_with editor Eigen2)
+ $(cmake-utils_use_with editor Avogadro)
+ $(cmake-utils_use_with editor OpenBabel2)
+ $(cmake-utils_use_with editor OpenGL)
+ $(cmake-utils_use_with solver OCaml)
+ $(cmake-utils_use_with solver Libfacile)
+ )
+
+ kde4-base_src_configure
+}