summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 10:27:55 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 11:59:17 +0100
commite1070dd6ca596db0b6ab7c4bf746fea164203593 (patch)
tree3d5c09ab6deab677f71cabe38471f4314443a4bc /kde-apps/kalzium
parentkde-apps/kalgebra: 22.12.2 version bump (diff)
downloadgentoo-e1070dd6ca596db0b6ab7c4bf746fea164203593.tar.gz
gentoo-e1070dd6ca596db0b6ab7c4bf746fea164203593.tar.bz2
gentoo-e1070dd6ca596db0b6ab7c4bf746fea164203593.zip
kde-apps/kalzium: 22.12.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-22.12.2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index d1c2227dcb1d..52f15f12423b 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-22.08.3.tar.xz 24453120 BLAKE2B 01c9642f4d6026d7d045fd025e7e00bd8f03afa9723e8fe45f5af725e21225551ab47e5baf15029ac113d9780cb049a88589ef05fbbaeb63d4fc4173ff424cb4 SHA512 5fa05a77edfc5b217150621244095d3e7d08b7edd064dc39fa53519bc129e1f8fd6ba791312fb1ae3d79f9721f7f481111814a572c694526738d534d8bf6ad0a
DIST kalzium-22.12.1.tar.xz 24641360 BLAKE2B b4c0a7d70651c569a89df9920eadf4b92ea582d3374b912c24ff020348edd95da822c7d361ba94f49ba65e66c3f39eb3ba8d2471b12dfcbad140e42254accd42 SHA512 121ee5112b8e1a0efc7c05e4c92aac83cffee129cc602b3250525fbd54ce69024af22a731c151ba61379f74cac0596a6789720727f3a013b658fee651e5fa3b0
+DIST kalzium-22.12.2.tar.xz 24640932 BLAKE2B cee39595be5bb22866cb7df29ddb29fc25a8518306fd2bbc7b9268c5b0a3ace970b2c30d918bfae33c559172c3669e07c764ddce66420b7f0b37520a51a87449 SHA512 77ccbed316d7a6aa33763f33efc93fe8224f7832b7f7c2d7ad03d2876afd8598f6bdab35374ed82f353a429c35a3c24a8f66f0db0c421463f3ba056fdc7ddeb5
diff --git a/kde-apps/kalzium/kalzium-22.12.2.ebuild b/kde-apps/kalzium/kalzium-22.12.2.ebuild
new file mode 100644
index 000000000000..a55ebcc00980
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-22.12.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.101.0
+QTMIN=5.15.5
+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/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
+"
+
+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
+}