summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r--kde-apps/kalzium/Manifest1
-rw-r--r--kde-apps/kalzium/kalzium-18.12.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 2ae1a48521aa..d6f5527c4221 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-18.08.3.tar.xz 24377636 BLAKE2B 094167e7014afe89a17d2be3331e546c2079793b3a76e3262f5f390a13e9c0bbfdde094bcbde0b61e95b28582f76d7bc870709968d5ac1c9846151474d27fa5c SHA512 844fccca678b7909675cee73a76dc0b38e901b3dbae42884fe803f773bdf678b2aa9957caebb9aac50ddc58e177169e284de9303ad40886f16f5c51c72347d32
DIST kalzium-18.12.0.tar.xz 24375924 BLAKE2B 90a3ec78abf6373290ff393a7fb546a49ced3f7703c07949908adc4d00551f51eb18da2d4992ecf37fed3d630e02bdddc7960642a334da48daef6a6d2f30a888 SHA512 c813a9cc544b743ecd44f744d4da568688cc0ac7b8e0c6e1b53eb76ee60d6c795520f2b2a464fe5c4b21e98e66179762461aaa533971d400127f044598c173b1
+DIST kalzium-18.12.1.tar.xz 26573788 BLAKE2B 567441e1e397ea25246157db11a31a4b148ae280bdf5afde2ad9f04f85c333dd5f6f08815c50babbf66466db0e6e9787abe846ae21562b6bc46ed6fbe5b2d05b SHA512 6f9e7c16e64b8c690200440e80be8f036ef6254c9e367cf1fc369250c47bebec47b7918d1fdd1194efbda65685ac03f2e3191c7f6d6380aa678b197dc28d6b97
diff --git a/kde-apps/kalzium/kalzium-18.12.1.ebuild b/kde-apps/kalzium/kalzium-18.12.1.ebuild
new file mode 100644
index 000000000000..6d9fd5d6f8c3
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-18.12.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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 ~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? (
+ $(add_qt_dep qtopengl)
+ $(add_frameworks_dep knewstuff)
+ dev-cpp/eigen:3
+ sci-chemistry/openbabel
+ sci-libs/avogadrolibs
+ )
+ 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
+}