summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-06-08 12:33:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-06-08 13:35:28 +0200
commit50fe7c186ddcc515dd7c38dc80b721ebae7a9e7d (patch)
treef0a7ef4714cd2c31d6722a4d126e27a5a2ce0fab /kde-apps/kalzium
parentkde-apps/kalgebra: 23.04.2 version bump (diff)
downloadgentoo-50fe7c186ddcc515dd7c38dc80b721ebae7a9e7d.tar.gz
gentoo-50fe7c186ddcc515dd7c38dc80b721ebae7a9e7d.tar.bz2
gentoo-50fe7c186ddcc515dd7c38dc80b721ebae7a9e7d.zip
kde-apps/kalzium: 23.04.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-23.04.2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 66d216e117ad..689971fb003a 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-22.12.3.tar.xz 24641508 BLAKE2B eedc41a2b982f809ce58a1c41fcd71e361738accf38fbb5f5ee868b9e6cd5121b05952412f3526c7788e1149a17efef183d4c14bb49d08a29d78db0d34c6286f SHA512 c0cc32befcb8bafb360f9f98f23c96d27ac9909e9274cb9dddce7f1d93cf580c5368c0846eabb0255591675dc3632397522fe76d2dbadff96e75a691ffedbdbe
DIST kalzium-23.04.1.tar.xz 24642500 BLAKE2B aa5e0f3c0d2e01aa708b124eabb6ab28573efee9a2406c8948a0e64353945049018b10387ae21980cb7df9d66296d61fbf3537dfc4ac6edc8d956a43c99de8d7 SHA512 1fb48e7c187e346a3e6ec987cd1ed474cbb7029b9f200109cb6449912932ed53ad1391117e759cdb6ea72c85abb8df81472a62bebf741fc57f5cccfcbcc8248b
+DIST kalzium-23.04.2.tar.xz 24643956 BLAKE2B c879f0baf6a241c1006d8ea6a7a16249358c276ccfaaafb372687cef5baa6718848f301b3c05674998b5480d4ea651b6af115a4a7040bd49f7dc1a466f692e85 SHA512 7395253f7dedbd2052bf00787d436f1e715032e7ca7907d874cbd7f48156168d59fb7b61fae7fcfe819082504d8dcc8d245289d2c87ad0287146f0f0853a50e1
diff --git a/kde-apps/kalzium/kalzium-23.04.2.ebuild b/kde-apps/kalzium/kalzium-23.04.2.ebuild
new file mode 100644
index 000000000000..787014d64f94
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-23.04.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.106.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/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
+}