diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-11-09 10:47:51 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-11-09 14:05:03 +0100 |
commit | 3ddb400ef06ae06540c5ad1bfdfd74cbdcc7091d (patch) | |
tree | b21d22139ccc96113b3cfc7d18172d1adc370c26 /kde-apps/cantor | |
parent | kde-apps/blinken: 23.08.3 version bump (diff) | |
download | gentoo-3ddb400ef06ae06540c5ad1bfdfd74cbdcc7091d.tar.gz gentoo-3ddb400ef06ae06540c5ad1bfdfd74cbdcc7091d.tar.bz2 gentoo-3ddb400ef06ae06540c5ad1bfdfd74cbdcc7091d.zip |
kde-apps/cantor: 23.08.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/cantor')
-rw-r--r-- | kde-apps/cantor/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/cantor/cantor-23.08.3.ebuild | 110 |
2 files changed, 111 insertions, 0 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest index 3aa12468b397..c7375ddffba6 100644 --- a/kde-apps/cantor/Manifest +++ b/kde-apps/cantor/Manifest @@ -1,2 +1,3 @@ DIST cantor-23.04.3.tar.xz 9266560 BLAKE2B 3daf3041af51d4d523c3f31334f6f77d0f34c1c7086eacac451c140e68de5123d9aeb904b90fd6bed6443146fb3eda50e9b39e4f276704b6111a110b46f0a8a1 SHA512 579e1c79f50540b212fe6a26beac7af9367b9d87a9d364e37828e8a72aa6c0915c1a5da10769df0fa3fd726e3f7c78bb0b05a29dfd0bbbf520f73abb78793f2f DIST cantor-23.08.2.tar.xz 9282632 BLAKE2B 4488c3adfb67d4e63ed17a34d357e9fc84883e1e8e3543434a68d11f1de1e267adc213dc6ec4ba0be0921e27a519f1f076aa965b65ded55572196fbb4a136341 SHA512 42a29bd8e72ea665426b7e4514bee28f687bbedd4911a3722dcd15437f28f213d5ab41b165854631378d85967418380afbdb7c88f0f4e36413646cf98f81e59d +DIST cantor-23.08.3.tar.xz 9284724 BLAKE2B 81e9e44094f121dcc38db0f3076d27f142831515d939b2e0b92d00778d0f5507469004a20c2b7f6ecc58bac634915f62e099cfdee7e3e5fb5820fa3a61e81790 SHA512 3a42db2c252816a450b9b4f065f18eedd38457b71152cbb5e1cb505a55dafdb1ea4fe277970c9e7b9f902115857f3cf1229fb2fd2c00d334b883c6648bfed434 diff --git a/kde-apps/cantor/cantor-23.08.3.ebuild b/kde-apps/cantor/cantor-23.08.3.ebuild new file mode 100644 index 000000000000..e12d51835788 --- /dev/null +++ b/kde-apps/cantor/cantor-23.08.3.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR="emake" +ECM_HANDBOOK="forceoptional" +ECM_TEST="forceoptional" +LUA_COMPAT=( luajit ) +PYTHON_COMPAT=( python3_{10..12} ) +PVCUT=$(ver_cut 1-3) +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm gear.kde.org lua-single optfeature python-single-r1 + +DESCRIPTION="Interface for doing mathematics and scientific computing" +HOMEPAGE="https://apps.kde.org/cantor/ https://edu.kde.org/cantor/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+analitza julia lua postscript python qalculate R" + +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="test" + +# TODO Add Sage Mathematics Software backend (https://www.sagemath.org) +DEPEND=" + app-text/poppler[qt5] + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qthelp-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwebengine-${QTMIN}:5[widgets] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-qt/qtxmlpatterns-${QTMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/syntax-highlighting-${KFMIN}:5 + analitza? ( >=kde-apps/analitza-${PVCUT}:5 ) + julia? ( dev-lang/julia ) + lua? ( ${LUA_DEPS} ) + qalculate? ( + sci-libs/cln + sci-libs/libqalculate:= + ) + postscript? ( app-text/libspectre ) + python? ( + ${PYTHON_DEPS} + >=dev-qt/qtdbus-${QTMIN}:5 + ) + R? ( dev-lang/R ) +" +RDEPEND="${DEPEND} + !analitza? ( !julia? ( !lua? ( !python? ( !qalculate? ( !R? ( + || ( + sci-mathematics/maxima + sci-mathematics/octave + ) + ) ) ) ) ) ) +" +BDEPEND="x11-misc/shared-mime-info" + +pkg_setup() { + use lua && lua-single_pkg_setup + use python && python-single-r1_pkg_setup + ecm_pkg_setup +} + +src_configure() { + use julia && addpredict /proc/self/mem # bug 602894 + + local mycmakeargs=( + $(cmake_use_find_package analitza Analitza5) + $(cmake_use_find_package julia Julia) + $(cmake_use_find_package lua LuaJIT) + -DUSE_LIBSPECTRE=$(usex postscript) + $(cmake_use_find_package python Python3) + $(cmake_use_find_package qalculate Qalculate) + $(cmake_use_find_package R R) + ) + use lua && mycmakeargs+=( + -DLUAJIT_INCLUDEDIR="${EPREFIX}/$(lua_get_include_dir)" + -DLUAJIT_LIBDIR="${EPREFIX}/$(lua_get_cmod_dir)" + ) + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "Maxima backend" sci-mathematics/maxima + optfeature "Octave backend" sci-mathematics/octave + optfeature "LaTeX support" virtual/latex-base + fi + ecm_pkg_postinst +} |