summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-07-08 13:30:22 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-07-08 13:43:34 +0200
commitbb1e1c0b18ebff5f992146b09584dc54f423b1bc (patch)
tree810e39910c2b9fc951b118524279078676ed6b93 /kde-apps/kalzium
parentkde-apps/kalgebra: 21.04.3 version bump (diff)
downloadgentoo-bb1e1c0b18ebff5f992146b09584dc54f423b1bc.tar.gz
gentoo-bb1e1c0b18ebff5f992146b09584dc54f423b1bc.tar.bz2
gentoo-bb1e1c0b18ebff5f992146b09584dc54f423b1bc.zip
kde-apps/kalzium: 21.04.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kalzium')
-rw-r--r--kde-apps/kalzium/Manifest1
-rw-r--r--kde-apps/kalzium/kalzium-21.04.3.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 405417cc69f5..2116d8acbc3e 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-20.12.3.tar.xz 24521912 BLAKE2B 23b1f1aa9948428789e46469c19e6bb9ebfa9841db29b4f8b89254e6cf973b213d49e9abda07fc9ee34a7a661d4ee2849491e0e6ade1e3fc0e544f7ba477e45b SHA512 09e3d588dd0ebcdac0b7c473f5bf7f240516a12797240a36efb1e764968c3953373c04e589ee84ff92b23df97e8d367a155b980175dc8ad01a2551a9d5d1f046
DIST kalzium-21.04.2.tar.xz 24589564 BLAKE2B e76d609ae223af28098457197ded3695926964875374fead4f548f3ea525cac45de2f69fb20ca4630ab66dd46a6fd58162f24faf1496c492512298b17786e682 SHA512 c1b2b7c0c2ab0bfa3c9c154664eaf6a4f555ee37d4bf0f1fa946c5f6b262315e8100f814c8c88d79bf2a90dd5efbd61b8d641eb2f242ad95110e96d32e79860f
+DIST kalzium-21.04.3.tar.xz 24590252 BLAKE2B 8418e1f7fd298b9a7ee04765bdbe3bcbde94acd09ad02d9befdd88b72139f08028fd996d9048323b2c34b3e9f6519c33d209fc186e097c427eab5124565eda47 SHA512 8c19954fc1fbe70b866769d89ec7cf85afeb71a1c0bd67783808fed59375acbd7f86484b36aa0e724450e4307cfece86846023dac77a24fa82df229007244a35
diff --git a/kde-apps/kalzium/kalzium-21.04.3.ebuild b/kde-apps/kalzium/kalzium-21.04.3.ebuild
new file mode 100644
index 000000000000..e4f90b8b9afa
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-21.04.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.80.0
+QTMIN=5.15.2
+inherit ecm 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: not packaged yet
+ $(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
+}