summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-10 20:33:20 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-10 20:54:55 +0200
commit73059a3b23f82a70c9fbf9418d0c8e9a1ed30a02 (patch)
tree244cf08e9530056e6ab2ea13691ff3e37ed0b5f6 /kde-apps/kalzium
parentkde-apps/kalgebra: 24.08.2 version bump (diff)
downloadgentoo-73059a3b23f82a70c9fbf9418d0c8e9a1ed30a02.tar.gz
gentoo-73059a3b23f82a70c9fbf9418d0c8e9a1ed30a02.tar.bz2
gentoo-73059a3b23f82a70c9fbf9418d0c8e9a1ed30a02.zip
kde-apps/kalzium: 24.08.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-24.08.2.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index e1b1ac192abf..8deac1969a2f 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-24.05.2.tar.xz 22660452 BLAKE2B 613704a0fa2e5394f90b9b5754cc3be4d6119f08f1037becc12f56b5ad3e6fc1b70964eccc3f6ea98c291733c0daabbeb3a67c27ed93b2c99e36627fed6bf72f SHA512 980c08b59b3bb715e5b2c581624d5b90846a3b085aee9f2bb2c542270978bf02d929be1a366ef94d1f3c757882652de92b4ea2d64c1c0040de253bda23d8654b
DIST kalzium-24.08.1.tar.xz 22682572 BLAKE2B 712b39a03c0caf62d384fae2d17dd7d1aaeea3fa5b143981c20ed1bb4b2fb4c79fdb2191f4a290b83c40980c866f2cda540a16061d340232fc3ea567c846154e SHA512 bf7eb33ff9968458d7f778f09b94a106373a9ac51c5402986091c7f47d1d8f5d9cfb18632b160c13087cd0084417dfaadbbfaf6c9f64c41b48b5bd51e89c7f92
+DIST kalzium-24.08.2.tar.xz 22683004 BLAKE2B 192e7a5a662fa08c15d95eb491f9a0652ed0f9bd0acc1a5c76abde03514f4b9fc04ef58687dd72894b253056aeef5bba7e60085ef583b60319e5089bed3b5ca2 SHA512 d8438ae175a74ea859601a6dc8becd6a31c37853de57532c040b34e979f77142481e57b98f4a4e8fb86ca6c2f25b9dc2bd9b68d35243f760f3781cc5179ff6ca
diff --git a/kde-apps/kalzium/kalzium-24.08.2.ebuild b/kde-apps/kalzium/kalzium-24.08.2.ebuild
new file mode 100644
index 000000000000..15f0e3f3a1bc
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-24.08.2.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/"
+
+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
+}