summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-03-21 10:47:50 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-03-21 16:34:26 +0100
commit09e286bdc5207c10719166f56c25459c2782b6c2 (patch)
treee6f4b258bc8567b96c4d67c2ab2cd3be69fbe408 /kde-apps/kalzium
parentkde-apps/kalgebra: 24.02.1 version bump (diff)
downloadgentoo-09e286bdc5207c10719166f56c25459c2782b6c2.tar.gz
gentoo-09e286bdc5207c10719166f56c25459c2782b6c2.tar.bz2
gentoo-09e286bdc5207c10719166f56c25459c2782b6c2.zip
kde-apps/kalzium: 24.02.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-24.02.1.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 8f00e2c9e03e..0b69d0d21761 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.0.tar.xz 24646188 BLAKE2B 925ceca96fdcd96f6bfa98e8f7f8a327a2c67f487ea31141206c877481e3cb3f6a46e3bf50a4922c4bb1414a5473c3307a88aaac6799d68b9b5d1c4100ac9a8a SHA512 f1abca41dac6e2acbe4d319fc53119b772459d8d2d2595206eb2ccb8ecf712331263f798b0fa3cfd5e7e3d115f0d45b4fcdf5e2d6c042d03c3001685ef18c084
+DIST kalzium-24.02.1.tar.xz 24646232 BLAKE2B d5b234ed056403749b1d83fce4f4cf57f519fa9ed237b15c2ac9b7577bc6459795e9be1ed1e238a54bae4213ad49ece16f0b8d2e11c501bfd6332c46ede4c013 SHA512 31485e273ef3dd2721fd5c0336107d1e909863be844b18a4325c884962a70260bb38b3d767bae2d8162cd940f7b16b64247e9a5e1ff43357e4f1e0d9696ee419
diff --git a/kde-apps/kalzium/kalzium-24.02.1.ebuild b/kde-apps/kalzium/kalzium-24.02.1.ebuild
new file mode 100644
index 000000000000..2c18c831f38d
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-24.02.1.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
+}