diff options
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r-- | kde-apps/kalzium/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kalzium/kalzium-20.04.1.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest index a3ce57317e35..9532c151170d 100644 --- a/kde-apps/kalzium/Manifest +++ b/kde-apps/kalzium/Manifest @@ -1,2 +1,3 @@ DIST kalzium-19.12.3.tar.xz 24586760 BLAKE2B a8d09473de9d9036a3096da3c27dc3a7478a85a5bb6f76ee133e5c958703ae004c4620e7a1847c9f7c62fb62843171f20d39c294184463209a6763523467f592 SHA512 fb8389937c605cd681295a16a87795caa317c8362c6704406adc3b67adf1c426019b6d52cc08d71248a9c705971248ed1b93e972741db917757bc479bff1af7b DIST kalzium-20.04.0.tar.xz 24593408 BLAKE2B 1561b84bc691388e646a60a8905a286bc067ba663bce13a0d58d8b7a80adc2f157ac5d2c4fdb874de6ff0e0c418576011974d611acd0f4b646556539e749cfa3 SHA512 1d8bff27effb31209660c049affcff1d4754abf7e420adb8beb96ad95db3b6b530404703a55196195401ee788fd0a93d775280b0ba9c071ab3a909ac791af309 +DIST kalzium-20.04.1.tar.xz 24595836 BLAKE2B 9823377c15631497557a38b48544523738930c1a23a1d513c6c6bb093ce3e66f841a912db59ebd56109736f2adb6214bbec11dcf0ba437719e1c69bb7c565c32 SHA512 3413f7e4ad0630f0463664cc24329ad64044e2624e7781b77ca5cdd195e06cb6aa4f11a92a326e41d0908a72f5202e5215435de63bfce758ccc55ecacbff53a5 diff --git a/kde-apps/kalzium/kalzium-20.04.1.ebuild b/kde-apps/kalzium/kalzium-20.04.1.ebuild new file mode 100644 index 000000000000..a242acd4116f --- /dev/null +++ b/kde-apps/kalzium/kalzium-20.04.1.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.70.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 ~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-qt/qtopengl-${QTMIN}:5 + dev-cpp/eigen:3 + >=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 +} |