summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 13:35:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 15:12:08 +0200
commitfc6f76479ecb4f33f56e5c96a2ab9b4db519b435 (patch)
tree8ac8110c14e89461a13c566294db669c098c4e2f /kde-apps/kalzium
parentkde-apps/kalgebra: 22.08.2 version bump (diff)
downloadgentoo-fc6f76479ecb4f33f56e5c96a2ab9b4db519b435.tar.gz
gentoo-fc6f76479ecb4f33f56e5c96a2ab9b4db519b435.tar.bz2
gentoo-fc6f76479ecb4f33f56e5c96a2ab9b4db519b435.zip
kde-apps/kalzium: 22.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-22.08.2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 9cd20098be58..7c8188b880f9 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-22.04.3.tar.xz 24470092 BLAKE2B f427555607d53e31b821f6c72bb47ef4c0f6ab228701fb841118d38b50b01df7dc9898c71dae90bb848c4b8acde60e6bf823413b5cc76b960745132af3684768 SHA512 1928715de6fdba33bc2a2d6b5be4647d07ffda597617c7846ca997beed6c0f6c89e96b5be1298c0e22b21335cf84494151bb4882ccc7bf8880bc596353d9d429
DIST kalzium-22.08.1.tar.xz 24453900 BLAKE2B e38daab88ef35f6499ee254599d84f93ba89a33008a25500e650fcf2b93fdf259b2108141dbb79fe3910f67007dbab33481d2a475ec7a2312ee0376f9b910d0e SHA512 af9957cb5b5dffe071789ee0d059a06a9f7e04f0dd0146cdae1d7bb031992052959e67c503fda1aafabdfa967ff9136193273a95b16827d25e27d1a77d646f22
+DIST kalzium-22.08.2.tar.xz 24453348 BLAKE2B 5cca3abc17d30c8294e4069eb4a3148ab79c24fa1881fe4b42156f48cab4eff975dbfade87ecc8deb046ead767e23aed5c0a7b495db9e50484e3347f7f96c77c SHA512 151287ad0d717690a2983fddd43c507ec129e36769da4b58949f5a921f759f59eae8e3bff4ab55f5b13ef1e47eb9adce5f626157225e6ea905096198ba997e54
diff --git a/kde-apps/kalzium/kalzium-22.08.2.ebuild b/kde-apps/kalzium/kalzium-22.08.2.ebuild
new file mode 100644
index 000000000000..6dfdc82e8091
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-22.08.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.96.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
+}