summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-05 13:13:33 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-05 18:57:31 +0100
commit01692caf90016c78f979fdf29624a7fb7a1a06b1 (patch)
treea486f088c192ecf19a6b9ba20e030d49845966a6 /kde-apps/kalzium
parentkde-apps/kalgebra: 20.08.3 version bump (diff)
downloadgentoo-01692caf90016c78f979fdf29624a7fb7a1a06b1.tar.gz
gentoo-01692caf90016c78f979fdf29624a7fb7a1a06b1.tar.bz2
gentoo-01692caf90016c78f979fdf29624a7fb7a1a06b1.zip
kde-apps/kalzium: 20.08.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r--kde-apps/kalzium/Manifest1
-rw-r--r--kde-apps/kalzium/kalzium-20.08.3.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 3821a95296aa..7bee6829a724 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-20.04.3.tar.xz 24550796 BLAKE2B 85309f277178f3e70b50db5154376371fbf3484d8b7fd7486ff74025044745de5dd77f4c8e5b18520279b8d5630ccb8f3fc3bc68618f2fbcd4a593090715ad0f SHA512 fa8f67128d35faa8bdc343cf425aedda8a9370584bdeb69e22ca229c0c1029a5d178f851d4131bd60c635d8d846c8bf1e9104fc030fddb15578ead4c2cba7ea0
DIST kalzium-20.08.2.tar.xz 24525216 BLAKE2B 8e5f83284b9f6d6040e116873cab1d3a7d84586817dc7d2f9902c7ee18d403dc21ea751f4f3b494eb6b1ff0c081093fa9deb573387abfca93fb2abbd4c0598ff SHA512 8f289331f3aed9f936aa4a01cf68e34e9b57dbafd10f174a21182a6656e4a5ea4aab2d96b94a25f886e5368fa46f51500cb548b11aca804780733deefb58a4db
+DIST kalzium-20.08.3.tar.xz 24524836 BLAKE2B 5e039f685890ce647cfabd1f320f34f51677809c33e012d9de8c10c461726e50f119856b4a32e333cc971f64255c2b112b96a79a468786610e0a9059ac34de88 SHA512 d755c601c5478901be24368da9bcd22ffd8df932bcc08a22a3919fe853a012ef300ae142fc3512af4b6615dcdd02263df300acc3afa66922b64a6ae41ebbcd2f
diff --git a/kde-apps/kalzium/kalzium-20.08.3.ebuild b/kde-apps/kalzium/kalzium-20.08.3.ebuild
new file mode 100644
index 000000000000..7ead6bfe14e4
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-20.08.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.74.0
+QTMIN=5.15.1
+inherit ecm kde.org flag-o-matic
+
+DESCRIPTION="Periodic table of the elements"
+HOMEPAGE="https://apps.kde.org/en/kalzium https://edu.kde.org/kalzium/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="editor solver"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtscript-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kplotting-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kunitconversion-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ editor? (
+ dev-cpp/eigen:3
+ >=dev-qt/qtopengl-${QTMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ sci-chemistry/openbabel
+ >=sci-libs/avogadrolibs-1.93[qt5]
+ )
+ 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_use_find_package editor Eigen3)
+ $(cmake_use_find_package editor AvogadroLibs)
+ $(cmake_use_find_package editor OpenBabel2)
+ $(cmake_use_find_package solver OCaml)
+ $(cmake_use_find_package solver Libfacile)
+ )
+
+ ecm_src_configure
+}