summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-14 00:48:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-14 08:51:28 +0200
commitd91c5589f2317dcfa61e9b15a71341582c6d3537 (patch)
tree13f63c923413004219e299b4f3d4ef39aeffec56 /kde-apps/kalzium
parentkde-frameworks: Add KDE Frameworks 5.71.0 (diff)
downloadgentoo-d91c5589f2317dcfa61e9b15a71341582c6d3537.tar.gz
gentoo-d91c5589f2317dcfa61e9b15a71341582c6d3537.tar.bz2
gentoo-d91c5589f2317dcfa61e9b15a71341582c6d3537.zip
kde-apps: Add KDE Release Service 20.04.2
Package-Manager: Portage-2.3.100, Repoman-2.3.22 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-20.04.2.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 3905703e737a..3bf7c983a755 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.1.tar.xz 24595836 BLAKE2B 9823377c15631497557a38b48544523738930c1a23a1d513c6c6bb093ce3e66f841a912db59ebd56109736f2adb6214bbec11dcf0ba437719e1c69bb7c565c32 SHA512 3413f7e4ad0630f0463664cc24329ad64044e2624e7781b77ca5cdd195e06cb6aa4f11a92a326e41d0908a72f5202e5215435de63bfce758ccc55ecacbff53a5
+DIST kalzium-20.04.2.tar.xz 24597040 BLAKE2B bf1b4527f4305b9f645e963a2f6c80ab0ffe6bd6811e60d05acb93501d7f228fa4b5d3f1cdc4e9961aea5f33b94d61067c1cff1d4c5154de260d075432a75da3 SHA512 92af798e642832967ba01305fbabf6b31f56d56cfbac5d1593ee203aca04e7569f7d01eb58fabc6cdfc5dd3c8b091d20fe1b8d46058156e13fc581ce8b714db2
diff --git a/kde-apps/kalzium/kalzium-20.04.2.ebuild b/kde-apps/kalzium/kalzium-20.04.2.ebuild
new file mode 100644
index 000000000000..3c47e9dedbcc
--- /dev/null
+++ b/kde-apps/kalzium/kalzium-20.04.2.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.14.1
+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
+}