diff options
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r-- | kde-apps/kalzium/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/kalzium/kalzium-20.04.0.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest index fb7bfc409749..7fe7ad847a37 100644 --- a/kde-apps/kalzium/Manifest +++ b/kde-apps/kalzium/Manifest @@ -1,3 +1,5 @@ DIST kalzium-19.12.3.tar.xz 24586760 BLAKE2B a8d09473de9d9036a3096da3c27dc3a7478a85a5bb6f76ee133e5c958703ae004c4620e7a1847c9f7c62fb62843171f20d39c294184463209a6763523467f592 SHA512 fb8389937c605cd681295a16a87795caa317c8362c6704406adc3b67adf1c426019b6d52cc08d71248a9c705971248ed1b93e972741db917757bc479bff1af7b +DIST kalzium-20.04.0.tar.xz 24593408 BLAKE2B 1561b84bc691388e646a60a8905a286bc067ba663bce13a0d58d8b7a80adc2f157ac5d2c4fdb874de6ff0e0c418576011974d611acd0f4b646556539e749cfa3 SHA512 1d8bff27effb31209660c049affcff1d4754abf7e420adb8beb96ad95db3b6b530404703a55196195401ee788fd0a93d775280b0ba9c071ab3a909ac791af309 EBUILD kalzium-19.12.3.ebuild 1724 BLAKE2B 9cc14b6368792543a2a0a0c18490c2305f7e49c16c710955ceeed707c25e566ec6d9318517bc185506d6484b1cb699a99cf0ab9ba9c95b8cb2fa45de97c5996a SHA512 f9987199e1201a1cc70cd8b34ec962dd1c73fbc08a321ed70f9628923797b188aabc83712d711b625a1b40eb111791ed9ec799518765c0d8e93b7c4a16800c44 +EBUILD kalzium-20.04.0.ebuild 1715 BLAKE2B 88c91b4b3bdc99e8ec92010ee0f179ae5473ece09fb345ee915618cf5c098d9234417b08eb9b4252c5048546533ea9e0c0abad969afedbfdbbfdf7706897c7a7 SHA512 aea3053aa132738aa002186e7397b56326d0247428990907531889f204b5b46fbcfe127978b0c18495ddda6639c254a063a9646d4256c012b360c3f5d262dfff MISC metadata.xml 392 BLAKE2B d3bb6dbac8507afd2fc52a1e0725c36ed612987649dd16c63a631db35f7e8be5e08bac163d8be7b0705b247d9d219d096497adc066dbeb0bd5674f79849c5001 SHA512 424599782ee8fb9703d159dab7551f94785dceaae5e0a7e09b3b0bc8488b8b278f378d0041da0742f45812b3e0bbacf06db8e10447c2ec28b1393b1f8d6894c9 diff --git a/kde-apps/kalzium/kalzium-20.04.0.ebuild b/kde-apps/kalzium/kalzium-20.04.0.ebuild new file mode 100644 index 000000000000..ba51b4fd42e8 --- /dev/null +++ b/kde-apps/kalzium/kalzium-20.04.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.69.0 +QTMIN=5.12.3 +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" +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-qt/qtopengl-${QTMIN}:5 + dev-cpp/eigen:3 + >=kde-frameworks/knewstuff-${KFMIN}:5 + sci-chemistry/openbabel + sci-libs/avogadrolibs[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 +} |