summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-09 10:08:54 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-09 20:57:57 +0200
commitfca36120bea0aca9cf48d6c0daac19c3749ce174 (patch)
treed8340df8203142907c7b5c06df669cf78c56f8b6
parentkde-apps/kalgebra: 20.08.2 version bump (diff)
downloadgentoo-fca36120bea0aca9cf48d6c0daac19c3749ce174.tar.gz
gentoo-fca36120bea0aca9cf48d6c0daac19c3749ce174.tar.bz2
gentoo-fca36120bea0aca9cf48d6c0daac19c3749ce174.zip
kde-apps/kalzium: 20.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/kalzium/Manifest1
-rw-r--r--kde-apps/kalzium/kalzium-20.08.2.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 87717127e29e..46b637c88618 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.1.tar.xz 24525128 BLAKE2B 20d5e28d549812d78ef914ce8a23c79d737235a68db91be3aa0c6a0a443d1f1c72be4bc320cb69ee3fd882ee5550f3468d7b9d03b73946eb9f2e67a037730da3 SHA512 60da587ba5001b718bd6106a384c26b5351e41d943ad6796def4b1e8e8c8aa8c077f58019e4a6e6796a90a3d594dfa61602cd149d82415d7cf7df0e6f453c5ee
+DIST kalzium-20.08.2.tar.xz 24525216 BLAKE2B 8e5f83284b9f6d6040e116873cab1d3a7d84586817dc7d2f9902c7ee18d403dc21ea751f4f3b494eb6b1ff0c081093fa9deb573387abfca93fb2abbd4c0598ff SHA512 8f289331f3aed9f936aa4a01cf68e34e9b57dbafd10f174a21182a6656e4a5ea4aab2d96b94a25f886e5368fa46f51500cb548b11aca804780733deefb58a4db
diff --git a/kde-apps/kalzium/kalzium-20.08.2.ebuild b/kde-apps/kalzium/kalzium-20.08.2.ebuild
new file mode 100644
index 000000000000..f3555e79c6ab
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-20.08.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.72.0
+QTMIN=5.14.2
+inherit ecm kde.org flag-o-matic
+
+DESCRIPTION="Periodic table of the elements"
+HOMEPAGE="https://kde.org/applications/education/org.kde.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
+}