diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-13 13:15:03 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-13 17:44:15 +0200 |
commit | d11d5faf9b5c8fd8eaff8985b7b925ba82981af1 (patch) | |
tree | 4d1abe6273a456df3233d57131d900e4294747d6 /kde-apps/kalzium | |
parent | kde-apps/kalgebra: 20.08.0 version bump (diff) | |
download | gentoo-d11d5faf9b5c8fd8eaff8985b7b925ba82981af1.tar.gz gentoo-d11d5faf9b5c8fd8eaff8985b7b925ba82981af1.tar.bz2 gentoo-d11d5faf9b5c8fd8eaff8985b7b925ba82981af1.zip |
kde-apps/kalzium: 20.08.0 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-20.08.0.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest index 67a173a78dc0..6b690a50a09a 100644 --- a/kde-apps/kalzium/Manifest +++ b/kde-apps/kalzium/Manifest @@ -1 +1,2 @@ DIST kalzium-20.04.3.tar.xz 24550796 BLAKE2B 85309f277178f3e70b50db5154376371fbf3484d8b7fd7486ff74025044745de5dd77f4c8e5b18520279b8d5630ccb8f3fc3bc68618f2fbcd4a593090715ad0f SHA512 fa8f67128d35faa8bdc343cf425aedda8a9370584bdeb69e22ca229c0c1029a5d178f851d4131bd60c635d8d846c8bf1e9104fc030fddb15578ead4c2cba7ea0 +DIST kalzium-20.08.0.tar.xz 24526088 BLAKE2B 6854fa73fc31573d6915aed82856b439ff7dd01a98f94ffb3560ed32daf6192cbb2b75161dd9e3b435711e68671b1e656526b4fd4e02efce81d603abd1a700a2 SHA512 21827886d0831e4845964aa8bc24194bc2c2381d169194a947e483a157d3058954e296cfbcacf437573685db2d0317242ca977c75933842c5b8a4ebc18723d8b diff --git a/kde-apps/kalzium/kalzium-20.08.0.ebuild b/kde-apps/kalzium/kalzium-20.08.0.ebuild new file mode 100644 index 000000000000..f3555e79c6ab --- /dev/null +++ b/kde-apps/kalzium/kalzium-20.08.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +KFMIN=5.72.0 +QTMIN=5.14.2 +inherit ecm kde.org flag-o-matic + +DESCRIPTION="Periodic table of the elements" +HOMEPAGE="https://kde.org/applications/education/org.kde.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 +" + +src_configure(){ + # Fix missing finite() + [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H + + local mycmakeargs=( + $(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 +} |