summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-03 10:53:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-03 18:10:12 +0100
commit0b276e4a647823f9b35ea64a81bdbf577cf54a66 (patch)
tree1c9698950995e0828c04c0a7c22cb406dcbdf05b /kde-apps/kalzium
parentkde-apps/kalgebra: 21.12.2 version bump (diff)
downloadgentoo-0b276e4a647823f9b35ea64a81bdbf577cf54a66.tar.gz
gentoo-0b276e4a647823f9b35ea64a81bdbf577cf54a66.tar.bz2
gentoo-0b276e4a647823f9b35ea64a81bdbf577cf54a66.zip
kde-apps/kalzium: 21.12.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-21.12.2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 7bf613631c5c..278d401454aa 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-21.08.3.tar.xz 24592108 BLAKE2B 8f9428557222d45a20b390f2e93abe4523e92e6fbc4e95f48a881b3b365a426396d57e4e46385041586ffdf213c92315fe71c05bd2ab39b203db3f038fb54983 SHA512 52d43df0d05c78172dfb8f3082ad1b235d488151813e02dedd2be1e81ee24a30bfb78c827d00c59a42bc3be49ef45c6ca338706ec2c3e1d0d4a5bcecd35a2bde
DIST kalzium-21.12.1.tar.xz 24592512 BLAKE2B d2d440101ccb25676ec76a8d6bbc0e96ba7d872017be3c4a0d4bda793248cf5a23f4aea3850ef211e719c50fa3ff82634d44981bc1face9ba6ea670d8c594218 SHA512 9f35b9b6465efe91147f6eb70d077e3fb99c4e1385bb0df31a4927cf1b8bb293d5d4f6961e67f0809bc4122fb95d819a74404cb743ba131014dde80955016320
+DIST kalzium-21.12.2.tar.xz 24592216 BLAKE2B c4867a31d435b340c56c5b344cd5c2fa121e490a6bf26d3f909634970b72b5d433deaa3901545bf97e980a893560aa241132cdc3b128ccbbbaf55958a4092061 SHA512 fe8cd91d086b44d8ea1c748a37bd0bac2a9e8c0670001c8bc5614dbd4ef01d16c0293d6eddae45a64e0f15502216233a53b919763bbcfcf097268265fd771ce1
diff --git a/kde-apps/kalzium/kalzium-21.12.2.ebuild b/kde-apps/kalzium/kalzium-21.12.2.ebuild
new file mode 100644
index 000000000000..f7854f954501
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-21.12.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.88.0
+QTMIN=5.15.2
+inherit ecm 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
+}