diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 13:45:26 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 14:41:54 +0200 |
commit | f0afe85cdb75e68e06daf4f39db6e55fdd08ed64 (patch) | |
tree | baa5d43eaf56cf8cc7103e84a50c93e3127f4e34 /kde-apps/cantor | |
parent | kde-apps/blinken: 22.08.1 version bump (diff) | |
download | gentoo-f0afe85cdb75e68e06daf4f39db6e55fdd08ed64.tar.gz gentoo-f0afe85cdb75e68e06daf4f39db6e55fdd08ed64.tar.bz2 gentoo-f0afe85cdb75e68e06daf4f39db6e55fdd08ed64.zip |
kde-apps/cantor: 22.08.1 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-22.08.1.ebuild | 112 |
2 files changed, 113 insertions, 0 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest index ccb4be5ec4f0..c60c06fb5737 100644 --- a/kde-apps/cantor/Manifest +++ b/kde-apps/cantor/Manifest @@ -1,2 +1,3 @@ DIST cantor-22.04.3.tar.xz 9196052 BLAKE2B 43d4386f0cf2bbe28f129491b066ce322f4f4936fad27e191302955409c1a336d7a9846b8254eaf5d4bbac5ac6d50023edfa3020921f5fcfc8c8a2d0fac130fa SHA512 aea0e1c545a05f46dfec8cf6e7d4a55d5d558e5965c2d15a568bcd38d2bb00f6abe184f976b2bbaab896367bb98ef04a1b4fa7c3af0fb30f0e90ad4d5c068a2c DIST cantor-22.08.0.tar.xz 9221012 BLAKE2B 6a7ceb7fdda79e23b36de476f27db5fa0d635c1c3e97b7953c827304e80b63f426b54dd1301061c0d76b88472ec89ec6ea1b993746dc1191f6145197a3e0a6a2 SHA512 8213c88d4a60f083ae265593c074b692a5fe9886f0ce2a79291cde727094b9acfb391a5cf0ce2e5dbf418423b4e380ab632102abcbbf703f153db6d6086825e3 +DIST cantor-22.08.1.tar.xz 9220772 BLAKE2B a5e826d255888a3c8df440882dd1bbc3c63cb43b4c328f80211012534ecdf1338b3f71ce20fc1b46103bd0bf6007773653bc73c6c4ceb4c60d77d3ad37283fe9 SHA512 9054d8b45fc8b2deb8ff3b281025bc5395c2f3747c772c50aba164038e82a6cb88bc877c080673a5c7557272a505ff11d5b4d6f8b09f590caf1ca45f53021812 diff --git a/kde-apps/cantor/cantor-22.08.1.ebuild b/kde-apps/cantor/cantor-22.08.1.ebuild new file mode 100644 index 000000000000..b27cea9173f9 --- /dev/null +++ b/kde-apps/cantor/cantor-22.08.1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2022 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_{8..11} ) +PVCUT=$(ver_cut 1-3) +KFMIN=5.96.0 +QTMIN=5.15.5 +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/kpty-${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)" + ) + use python && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) + 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 +} |