aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-15 15:16:26 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-15 18:30:34 +0100
commit100231dc95689931b93622f939927690aaff39be (patch)
treea7137af381d4a9f69b444a736ad9d99a1eaa5905 /kde-apps/kalzium
parentkde-apps/kalgebra: 24.11.80 version bump (diff)
downloadkde-100231dc95689931b93622f939927690aaff39be.tar.gz
kde-100231dc95689931b93622f939927690aaff39be.tar.bz2
kde-100231dc95689931b93622f939927690aaff39be.zip
kde-apps/kalzium: 24.11.80 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-24.11.80.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
new file mode 100644
index 0000000000..8a9a25539a
--- /dev/null
+++ b/kde-apps/kalzium/Manifest
@@ -0,0 +1 @@
+DIST kalzium-24.11.80.tar.xz 22682628 BLAKE2B ff54585298c9f5879e3adaac4968882f947f7ab1581d1e9c5c16af8c98e5e79dffbc40d9ba372bd7e11bcf3e5698ef15f939cc110c94eddf8cd0254a8fdaadcf SHA512 4930190e22910b36855ddd658aaf8a081fcc9b07002ae24a8ce9a537291f50037c540ce3a81685df7e8fc74d04818f0f777beab1546b8ff9f70a60269a7a72c5
diff --git a/kde-apps/kalzium/kalzium-24.11.80.ebuild b/kde-apps/kalzium/kalzium-24.11.80.ebuild
new file mode 100644
index 0000000000..3e227b0839
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-24.11.80.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org flag-o-matic
+
+DESCRIPTION="Periodic table of the elements"
+HOMEPAGE="https://apps.kde.org/kalzium/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="solver"
+
+# TODO: IUSE="editor"
+# editor? (
+# dev-cpp/eigen:3
+# >=dev-qt/qtopengl-${QTMIN}:6
+# >=kde-frameworks/knewstuff-${KFMIN}:6
+# sci-chemistry/openbabel:=
+# >=sci-libs/avogadrolibs-1.93[qt6]
+# )
+DEPEND="
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=dev-qt/qtbase-${QTMIN}:6[gui,widgets,xml]
+ >=dev-qt/qtscxml-${QTMIN}:6
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kitemviews-${KFMIN}:6
+ >=kde-frameworks/kplotting-${KFMIN}:6
+ >=kde-frameworks/ktextwidgets-${KFMIN}:6
+ >=kde-frameworks/kunitconversion-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ 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: bug 823101
+ -DCMAKE_DISABLE_FIND_PACKAGE_Eigen3=ON
+# $(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
+}