diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-07-03 18:49:12 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-07-04 13:49:59 +0200 |
commit | c690e27b7c90a871a67531b8a0067d2abe79d310 (patch) | |
tree | fbd450a7e2a405fab21e5ea3bc2e13aa8c41564f /kde-apps/kalzium | |
parent | kde-apps/kalgebra: 24.05.2 version bump (diff) | |
download | gentoo-c690e27b7c90a871a67531b8a0067d2abe79d310.tar.gz gentoo-c690e27b7c90a871a67531b8a0067d2abe79d310.tar.bz2 gentoo-c690e27b7c90a871a67531b8a0067d2abe79d310.zip |
kde-apps/kalzium: 24.05.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-24.05.2.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest index cacfe8d6d72c..c644d06c3ca1 100644 --- a/kde-apps/kalzium/Manifest +++ b/kde-apps/kalzium/Manifest @@ -1 +1,2 @@ DIST kalzium-24.05.1.tar.xz 22660092 BLAKE2B d5f636b415c8110774615eebf4bf81843f374c08e36d00768ce6d27a0bdf918d95634953c05e5d0529ee6f731ad7703c59b87ddd751637f55ed99587a2a38ece SHA512 556febc3c49ece2e1387df1139c1b4b12bf29d64df1129d8b4e540bc9c12154eb593fca74217fe62901354d30c778eb715140af861b6dda1c6c7a2d0229bcb7c +DIST kalzium-24.05.2.tar.xz 22660452 BLAKE2B 613704a0fa2e5394f90b9b5754cc3be4d6119f08f1037becc12f56b5ad3e6fc1b70964eccc3f6ea98c291733c0daabbeb3a67c27ed93b2c99e36627fed6bf72f SHA512 980c08b59b3bb715e5b2c581624d5b90846a3b085aee9f2bb2c542270978bf02d929be1a366ef94d1f3c757882652de92b4ea2d64c1c0040de253bda23d8654b diff --git a/kde-apps/kalzium/kalzium-24.05.2.ebuild b/kde-apps/kalzium/kalzium-24.05.2.ebuild new file mode 100644 index 000000000000..2c18c831f38d --- /dev/null +++ b/kde-apps/kalzium/kalzium-24.05.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/ 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/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 +} |