summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-04-22 10:07:22 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-04-22 11:11:49 +0200
commit653cd36b4577bd3148a3c6c1d04c403c9dbb0b78 (patch)
tree152d906591e6dc356f971040a70a87b5f5622590 /kde-apps/kalzium
parentkde-apps/kalgebra: 23.04.0 version bump (diff)
downloadgentoo-653cd36b4577bd3148a3c6c1d04c403c9dbb0b78.tar.gz
gentoo-653cd36b4577bd3148a3c6c1d04c403c9dbb0b78.tar.bz2
gentoo-653cd36b4577bd3148a3c6c1d04c403c9dbb0b78.zip
kde-apps/kalzium: 23.04.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-23.04.0.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 9d45ade687d3..4fe19c086ff4 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1 +1,2 @@
DIST kalzium-22.12.3.tar.xz 24641508 BLAKE2B eedc41a2b982f809ce58a1c41fcd71e361738accf38fbb5f5ee868b9e6cd5121b05952412f3526c7788e1149a17efef183d4c14bb49d08a29d78db0d34c6286f SHA512 c0cc32befcb8bafb360f9f98f23c96d27ac9909e9274cb9dddce7f1d93cf580c5368c0846eabb0255591675dc3632397522fe76d2dbadff96e75a691ffedbdbe
+DIST kalzium-23.04.0.tar.xz 24642936 BLAKE2B 35e7f3cc54622ed7b5f36e2ae6c39fe87c74df797b315fcae7f18afbd254962ee7c55fb69c52cc706132722275ef2e83032ce1391d6c8db991fd8f38698a69be SHA512 7acc69796ce8702d27c975840cb5d8389b1834220f31983e3127e99504c6b76078fe0dbb5f03c1cb2e3ecf20865c248bc200aa21a07b71c4784f373f6bc395f0
diff --git a/kde-apps/kalzium/kalzium-23.04.0.ebuild b/kde-apps/kalzium/kalzium-23.04.0.ebuild
new file mode 100644
index 000000000000..3aec90da9651
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-23.04.0.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.104.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
+}