diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-08 20:57:39 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-09 12:56:17 +0200 |
commit | 9852da009f129bf806304d49518c7572dd13d9ac (patch) | |
tree | 7279a8e302db608909a1d1867f96407cccb35cdf /kde-apps/kalzium | |
parent | kde-apps/kalgebra: 22.04.2 version bump (diff) | |
download | gentoo-9852da009f129bf806304d49518c7572dd13d9ac.tar.gz gentoo-9852da009f129bf806304d49518c7572dd13d9ac.tar.bz2 gentoo-9852da009f129bf806304d49518c7572dd13d9ac.zip |
kde-apps/kalzium: 22.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r-- | kde-apps/kalzium/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kalzium/kalzium-22.04.2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest index f9559c33d223..8f1be526970b 100644 --- a/kde-apps/kalzium/Manifest +++ b/kde-apps/kalzium/Manifest @@ -1,2 +1,3 @@ DIST kalzium-21.12.3.tar.xz 24592780 BLAKE2B b93a05c2ab2d6f31525ab78c501cd97776f236e86f226b379d1069dc3545c1e42e78b30c79725e377ed75a1bb6511214397632f67f60168241be3982535f2b0e SHA512 4820bec916d7be37f59e0538d831f58abe21910ab94400a20d5c54e72771e7fd7f5c1a6476ab2a630a756423362bd3f3dd619d49090c6248179039f5ab508df0 DIST kalzium-22.04.1.tar.xz 24475024 BLAKE2B 5948b56454dbf8b56fd38db47d0b7798cdbf4b99236d775d29fe0ccc11b9ddfbfb138d6312aef572e53cfd48d98e070ff09835b7a816bdfdc138cae1aef53cce SHA512 5b86ac08086a429ac3b07533320d983b49f8a8c8acc23f3d7c21e9881f0686e114c7b040a66a25ccf30e217bf15d7db722a32350bcb5ce1b4c646d080f420369 +DIST kalzium-22.04.2.tar.xz 24475688 BLAKE2B cce91a3ad5992e6790d600d2e62a9df2e389e3414e7aa831fa29bf970ccb28e74ed1f69f92666fbe490806fba751e8df28784a307bd3cc3a7c8d2bffa1dba6fc SHA512 161dddba0eafc00ae713381a983b3719e5a09363d834b5b62dfc030d99c0e92da1ace517481a0675f72ca13c94c07df78e87ced699af100a4e8067530a020267 diff --git a/kde-apps/kalzium/kalzium-22.04.2.ebuild b/kde-apps/kalzium/kalzium-22.04.2.ebuild new file mode 100644 index 000000000000..a43843dafc38 --- /dev/null +++ b/kde-apps/kalzium/kalzium-22.04.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.92.0 +QTMIN=5.15.3 +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 +} |