summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-04-11 21:28:52 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-04-11 22:12:49 +0200
commit60f6446c1708335101bee09bab7f4c428007becc (patch)
treeca81c784ca2b414ed3f78df297edccfdf1fb92e0 /kde-apps/kalzium
parentkde-apps/kalgebra: 24.02.2 version bump (diff)
downloadgentoo-60f6446c1708335101bee09bab7f4c428007becc.tar.gz
gentoo-60f6446c1708335101bee09bab7f4c428007becc.tar.bz2
gentoo-60f6446c1708335101bee09bab7f4c428007becc.zip
kde-apps/kalzium: 24.02.2 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-24.02.2.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index dbe62d9dfdf1..dfb7472cc893 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-23.08.5.tar.xz 24641244 BLAKE2B 06bc81654199330d8329ad5247bb1163cbf25941f214056c0de5c010ee34da8c00469fae15e389089c6d1edbe02e63fc01d1e3bc52ac6cd536036fbe8662d07f SHA512 102f16f035dba09eddcd10f8454d8aa32f850611b1ab4638417b3da7b1f7eed46e87b10282b44d519d5667a5d7ea03e1da8a1b99ec57fe8a93f370b0c00b05f7
DIST kalzium-24.02.1.tar.xz 24646232 BLAKE2B d5b234ed056403749b1d83fce4f4cf57f519fa9ed237b15c2ac9b7577bc6459795e9be1ed1e238a54bae4213ad49ece16f0b8d2e11c501bfd6332c46ede4c013 SHA512 31485e273ef3dd2721fd5c0336107d1e909863be844b18a4325c884962a70260bb38b3d767bae2d8162cd940f7b16b64247e9a5e1ff43357e4f1e0d9696ee419
+DIST kalzium-24.02.2.tar.xz 24646968 BLAKE2B 6f2a81542a66bc553fe1b7177ad2dae6b314c01ab72d3d6e26771199dd0b680f29d5c2665cecf4c87e3d5376a9d81f5f5c4a8670f346ce813b3ab0101c1020e9 SHA512 7cf5c46a175014c61766a2c0edcac2ca66405053c85a842b40ceca8afbfc5f9130f684b146f54626558d14c70e95f1684d116004816ee5899bd5b4f668947b21
diff --git a/kde-apps/kalzium/kalzium-24.02.2.ebuild b/kde-apps/kalzium/kalzium-24.02.2.ebuild
new file mode 100644
index 000000000000..2c18c831f38d
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-24.02.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.115.0
+QTMIN=5.15.12
+inherit ecm gear.kde.org flag-o-matic
+
+DESCRIPTION="Periodic table of the elements"
+HOMEPAGE="https://apps.kde.org/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/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
+"
+
+PATCHES=( "${FILESDIR}/${PN}-21.03.90-cmake.patch" )
+
+src_configure() {
+ # Fix missing finite()
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
+
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_OpenBabel3=ON # TODO: bug 823101
+ $(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
+}