diff options
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r-- | kde-apps/kalzium/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kalzium/kalzium-23.08.1.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest index c3d302dadc35..7829d2efb1bb 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.0.tar.xz 24641428 BLAKE2B 1d6fd0abd0df463fb08718a91bba6ee38a07046739c8355d1331df42f300451923d29615d3b6ce588ceb6f883cf362e3d1df5c2585bc463021345eb1dcc47e83 SHA512 9d6e022322efb2b8afa3d3d8cb46be2646bca78da5799f46ac50e13503c70d90c8f112bcfa11709206276dd563cebb0a27c36aaa54506064b5d7aeba4ad46ea3 +DIST kalzium-23.08.1.tar.xz 24642560 BLAKE2B b6189186a226f4c8e01a856bc7cbbb3585984c92d114e4cf5ce16958a46a6d07c7a0aba4c64515dc1ce363929098abe812c5f9dafc7a5602ee9dc67316e92c49 SHA512 6fc9e9418c0fb1dadedfb14e36b567e87bb91f275775b1c144cd3163427046296b44af70dad438a32fda92979add2c45830e852e1ae0a126b599380e0f8b674d diff --git a/kde-apps/kalzium/kalzium-23.08.1.ebuild b/kde-apps/kalzium/kalzium-23.08.1.ebuild new file mode 100644 index 000000000000..787014d64f94 --- /dev/null +++ b/kde-apps/kalzium/kalzium-23.08.1.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 +} |