summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-09-02 12:39:47 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-09-02 18:47:23 +0200
commit988c8a66cb2172a68f171f2240c2c8d03fa27672 (patch)
treefd431e86956e6df5a5ee0fb266a35b7fd4a441a8 /kde-apps/kalzium
parentkde-apps/kalgebra: 21.08.1 version bump (diff)
downloadgentoo-988c8a66cb2172a68f171f2240c2c8d03fa27672.tar.gz
gentoo-988c8a66cb2172a68f171f2240c2c8d03fa27672.tar.bz2
gentoo-988c8a66cb2172a68f171f2240c2c8d03fa27672.zip
kde-apps/kalzium: 21.08.1 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.08.1.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index f573101b2d0d..97d8be82b383 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,2 +1,3 @@
DIST kalzium-21.04.3.tar.xz 24590252 BLAKE2B 8418e1f7fd298b9a7ee04765bdbe3bcbde94acd09ad02d9befdd88b72139f08028fd996d9048323b2c34b3e9f6519c33d209fc186e097c427eab5124565eda47 SHA512 8c19954fc1fbe70b866769d89ec7cf85afeb71a1c0bd67783808fed59375acbd7f86484b36aa0e724450e4307cfece86846023dac77a24fa82df229007244a35
DIST kalzium-21.08.0.tar.xz 24592480 BLAKE2B 2b52e732d21b087663210ad6f7f51f892cff04f28bf620074deb02445afacd12ba51c05383f6ad8a9ca295b6dc678bc2b64f4c05a0596405f2f02994691743c8 SHA512 515b528029b9dc4a018624e4fbd5ee1d89d4286f57c8a07964ea58a240a13f4f61b86d97d97dd52f2502988c785d0a55b3c1951d63bdeb7da1759630bb67c228
+DIST kalzium-21.08.1.tar.xz 24592592 BLAKE2B d4a083cadcb4f7adfe3a3fd096bdd155f2c66212857ecfe597c0fe02dac23fb5235604332c160e68eea0d223a567083711e5f19ebe6613e791872e96bb09ce2b SHA512 e26b1c73d431de53bd47406da4a25ca4ebd2466a7836da6d15c8a7a293f988eb07e4f06f182847824020e89ea43fce951bd3015874427e82ab649dd42d940305
diff --git a/kde-apps/kalzium/kalzium-21.08.1.ebuild b/kde-apps/kalzium/kalzium-21.08.1.ebuild
new file mode 100644
index 000000000000..e715865c6c1b
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-21.08.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.84.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
+}