summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-11-09 10:48:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-11-09 14:05:03 +0100
commit006ffe50f4db1246014f89565c38f63d7d7b2733 (patch)
tree642515ee55dfb73b033228cdc579a1cc766916c3 /kde-apps/kalzium
parentkde-apps/kalgebra: 23.08.3 version bump (diff)
downloadgentoo-006ffe50f4db1246014f89565c38f63d7d7b2733.tar.gz
gentoo-006ffe50f4db1246014f89565c38f63d7d7b2733.tar.bz2
gentoo-006ffe50f4db1246014f89565c38f63d7d7b2733.zip
kde-apps/kalzium: 23.08.3 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.08.3.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index afac030c9eb8..6642cc94396f 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-23.04.3.tar.xz 24642872 BLAKE2B 27138f16976a49375b663957c01daae8ae4677486ce181feb738b06d19d73c91ef096da6cfd781a59ab1477ac52e4327318abbb6d89de3fda94054b53a813e5b SHA512 53933e627a53269c4e72525fffa9a1a6da164983acdd4f358f27525389e69ce2c77b498e15ddb9d1d98a0c2a6c6e5f67377e060a683b4db6112b895ee244943d
DIST kalzium-23.08.2.tar.xz 24642000 BLAKE2B b3e35299a99e2307ac837635166d06f82d98adf9cb29b5bdb70a676210d408f3e4fd317bc03d71024bd06a8f35807eb0227cb093a392aded3c62e109ce022e9e SHA512 f7676b27f72f65dee1a26de2ad44de24dffc2d40d219ee0aab283932e5d92b6b104b3ccb6a638b4a684539a51ea1f7830f2d978c3938b7ca152d86ac1f8909b4
+DIST kalzium-23.08.3.tar.xz 24642120 BLAKE2B 5aa8c1634b793a3a1e8060dda006ae30abbfd35e9bba9ea7b7b9f0ef3b207f26adc9e9cc85a61f510228e47f3dd45b4ff704d9be1f42179fe279cb0debee9f6b SHA512 e66937f0df3ef57b6309888e438bcafdaca23209535718b9d4f0876cab3ade63c583624f248d49f516be87afed2dfe369d06e77c9ee3a8f153b54900423ffdde
diff --git a/kde-apps/kalzium/kalzium-23.08.3.ebuild b/kde-apps/kalzium/kalzium-23.08.3.ebuild
new file mode 100644
index 000000000000..787014d64f94
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-23.08.3.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
+}