summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-07 13:57:07 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-07 18:28:06 +0100
commite1872fb26acd8fd8841a79029af7cc2d0be67a09 (patch)
tree05122a2503a3c4943908d95e909b3d8951f9a427 /kde-apps/kalzium
parentkde-apps/kalgebra: 20.12.1 version bump (diff)
downloadgentoo-e1872fb26acd8fd8841a79029af7cc2d0be67a09.tar.gz
gentoo-e1872fb26acd8fd8841a79029af7cc2d0be67a09.tar.bz2
gentoo-e1872fb26acd8fd8841a79029af7cc2d0be67a09.zip
kde-apps/kalzium: 20.12.1 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.12.1.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 3c2b99b1e874..1258a6c0a116 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-20.08.3.tar.xz 24524836 BLAKE2B 5e039f685890ce647cfabd1f320f34f51677809c33e012d9de8c10c461726e50f119856b4a32e333cc971f64255c2b112b96a79a468786610e0a9059ac34de88 SHA512 d755c601c5478901be24368da9bcd22ffd8df932bcc08a22a3919fe853a012ef300ae142fc3512af4b6615dcdd02263df300acc3afa66922b64a6ae41ebbcd2f
DIST kalzium-20.12.0.tar.xz 24521872 BLAKE2B 294ffab2deed6e72b5784e56dfc61449a6f9e29f720121bc5603ed3184f77e72b5cdbedd74da795b15fe77fdc627de438fafd748b01ab673689212f6295c174a SHA512 0180a136dc029120ac3dc1a556c99b3b51531bc3cc5db65788ea0e6461f35f381a1e1d159cc5621f3abc588c4a4739f16f1a3d1d7abfdd1bd1d99f17e8f58d48
+DIST kalzium-20.12.1.tar.xz 24522148 BLAKE2B cf0b189eec4aded92a55863ffd408b1b38573075d25019652e2b935e3f6bc879f7115d3c9732c4a205a2900a7227de5a074bda1180397ce27812d0fd8058c070 SHA512 594f377def8ce9a435856b7305fd8826650ab8b538868a1df95d61de680943f50a19fce36dffe1c2df84efe9a54c4550b1c4cb5f91529436dff8e91992168525
diff --git a/kde-apps/kalzium/kalzium-20.12.1.ebuild b/kde-apps/kalzium/kalzium-20.12.1.ebuild
new file mode 100644
index 000000000000..a5b19aae3757
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-20.12.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.75.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
+}