summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-04-20 18:15:02 +0200
committerJohannes Huber <johu@gentoo.org>2017-04-20 18:22:40 +0200
commit8f00b2bf566d896205f52099530159c97b977f68 (patch)
tree6dfeae9f7a9dc7b276cb384a7f4ad8d589de52d1 /kde-apps/kalzium
parentkde5*eclass: KDE Applications 17.04.0 improvements (diff)
downloadgentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.gz
gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.bz2
gentoo-8f00b2bf566d896205f52099530159c97b977f68.zip
kde-apps: Version bump KDE Applications 17.04.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r--kde-apps/kalzium/Manifest1
-rw-r--r--kde-apps/kalzium/kalzium-17.04.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 587bf893dfa9..ee7bb3e91519 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1 +1,2 @@
DIST kalzium-16.12.3.tar.xz 4589228 SHA256 11519ce92658aa09ef1d7fe84b6a60f3e4b9f2b64990ce1a03f9eeb01c968e66 SHA512 b5d062951d6fb60fcb5029fcf9d64fc492956d90fc76d0247202ea332d3b58c02d161229e52482583f6b735f1bb4afbe0f89ec2465d8adbb9c67b2c49ebe1879 WHIRLPOOL 828f3f7b016149a17eec3a86e6c83bacdd28239412388d8209981d777f5526345c097e88d3c3371953e1a79c246a6ea97759b3a557739cb5733afd02243d2d80
+DIST kalzium-17.04.0.tar.xz 24469252 SHA256 b39c816794b3be2af666e50cfc6ce3c0212817ef707f047ac63ab7893db0779d SHA512 f4f06afa239b185164d7cf5c16ab8f68155d43b09a74594e66825ac3d27ea96e4741576fed3e55b5e5fbdee9ae380f05c9c68ddeefd1e617755599d93035769a WHIRLPOOL 51c4121d1a0c1b5b68f7babefde1c33251cb65d41a076215a8a955a56b1e865b24dd1027b6311d2905a9d5dadeea928ed2d55e48e5487be1e37a0312a4a6fc8b
diff --git a/kde-apps/kalzium/kalzium-17.04.0.ebuild b/kde-apps/kalzium/kalzium-17.04.0.ebuild
new file mode 100644
index 000000000000..3d43b194149b
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-17.04.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5 flag-o-matic
+
+DESCRIPTION="Periodic table of the elements"
+HOMEPAGE="https://www.kde.org/applications/education/kalzium
+https://edu.kde.org/kalzium"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="editor solver"
+
+DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep khtml)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kplotting)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kunitconversion)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtscript)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ editor? (
+ dev-cpp/eigen:3
+ || ( sci-libs/avogadrolibs sci-chemistry/avogadro )
+ sci-chemistry/openbabel
+ )
+ 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=(
+ $(cmake-utils_use_find_package editor Eigen3)
+ $(cmake-utils_use_find_package editor AvogadroLibs)
+ $(cmake-utils_use_find_package editor OpenBabel2)
+ $(cmake-utils_use_find_package solver OCaml)
+ $(cmake-utils_use_find_package solver Libfacile)
+ )
+
+ kde5_src_configure
+}