diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-08-25 09:57:40 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-08-25 10:27:09 +0200 |
commit | 92fc4f70a003cd85569b86703f04eab749c4c964 (patch) | |
tree | 8a2219cb247beaed0b7eb4b37a1ae082feb6ee8c /kde-apps/cantor | |
parent | kde-apps/blinken: 23.08.0 version bump (diff) | |
download | gentoo-92fc4f70a003cd85569b86703f04eab749c4c964.tar.gz gentoo-92fc4f70a003cd85569b86703f04eab749c4c964.tar.bz2 gentoo-92fc4f70a003cd85569b86703f04eab749c4c964.zip |
kde-apps/cantor: 23.08.0 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.0.ebuild | 110 |
2 files changed, 111 insertions, 0 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest index 99946503143d..5017e1119572 100644 --- a/kde-apps/cantor/Manifest +++ b/kde-apps/cantor/Manifest @@ -1 +1,2 @@ DIST cantor-23.04.3.tar.xz 9266560 BLAKE2B 3daf3041af51d4d523c3f31334f6f77d0f34c1c7086eacac451c140e68de5123d9aeb904b90fd6bed6443146fb3eda50e9b39e4f276704b6111a110b46f0a8a1 SHA512 579e1c79f50540b212fe6a26beac7af9367b9d87a9d364e37828e8a72aa6c0915c1a5da10769df0fa3fd726e3f7c78bb0b05a29dfd0bbbf520f73abb78793f2f +DIST cantor-23.08.0.tar.xz 9280464 BLAKE2B 9090cddeea83afc59fa6bea096ab94cabe6a7702343fda45cd1b70038c922db9c7e2dea022147e3ad78346c0ee72951f56ea3aca813d16752b5769602dcc0153 SHA512 dd3c4068691bf8706b6afdb1903b5592cd16de553be503ad11a39c8dce74c10f8be82c8195f26329996a5bc53b8df354868428b691ba82d68cca8ceb0aa015f8 diff --git a/kde-apps/cantor/cantor-23.08.0.ebuild b/kde-apps/cantor/cantor-23.08.0.ebuild new file mode 100644 index 000000000000..e12d51835788 --- /dev/null +++ b/kde-apps/cantor/cantor-23.08.0.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 +} |