summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-28 12:58:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-28 14:52:54 +0100
commitb26f330b62c452e7c370b49f29b78be17f55c53c (patch)
tree83a7c6674a4115392340d9344957464fbe433c4e /kde-apps/kalzium
parentkde-apps/kalgebra: 24.02.0 version bump (diff)
downloadgentoo-b26f330b62c452e7c370b49f29b78be17f55c53c.tar.gz
gentoo-b26f330b62c452e7c370b49f29b78be17f55c53c.tar.bz2
gentoo-b26f330b62c452e7c370b49f29b78be17f55c53c.zip
kde-apps/kalzium: 24.02.0 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.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index e3afbe81345b..3d4f40bd7d26 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-23.08.4.tar.xz 24642260 BLAKE2B 2c6ed12a8d4e0c69f5725ea56edf5ea3dd2654c54a9912d33d5515037f4ae8a97d5fe7824d925dc40a99f43c7b3de5900b112d9e6e766f0d69a80e80b0ab1e13 SHA512 70d599f47bd84c728fa7459c51890d2814591b91a3fb5d768145e5da57eb196832d3995f780e143166e67e0689f99d9497084a0f76ddd797358ad5129f7a82e6
DIST kalzium-23.08.5.tar.xz 24641244 BLAKE2B 06bc81654199330d8329ad5247bb1163cbf25941f214056c0de5c010ee34da8c00469fae15e389089c6d1edbe02e63fc01d1e3bc52ac6cd536036fbe8662d07f SHA512 102f16f035dba09eddcd10f8454d8aa32f850611b1ab4638417b3da7b1f7eed46e87b10282b44d519d5667a5d7ea03e1da8a1b99ec57fe8a93f370b0c00b05f7
+DIST kalzium-24.02.0.tar.xz 24646188 BLAKE2B 925ceca96fdcd96f6bfa98e8f7f8a327a2c67f487ea31141206c877481e3cb3f6a46e3bf50a4922c4bb1414a5473c3307a88aaac6799d68b9b5d1c4100ac9a8a SHA512 f1abca41dac6e2acbe4d319fc53119b772459d8d2d2595206eb2ccb8ecf712331263f798b0fa3cfd5e7e3d115f0d45b4fcdf5e2d6c042d03c3001685ef18c084
diff --git a/kde-apps/kalzium/kalzium-24.02.0.ebuild b/kde-apps/kalzium/kalzium-24.02.0.ebuild
new file mode 100644
index 000000000000..34691d7f3b48
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-24.02.0.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.113.0
+QTMIN=5.15.9
+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
+}