summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-10-18 21:57:11 +0200
committerJohannes Huber <johu@gentoo.org>2016-10-18 22:09:22 +0200
commit8a5934aa38e64c3560752baff5c9c7b03eff2981 (patch)
tree751c477265fbf6365b06564fc5b25aad11b2f91e /kde-apps/cantor
parentprofiles: Update KDE PIM 16.08 mask (diff)
downloadgentoo-8a5934aa38e64c3560752baff5c9c7b03eff2981.tar.gz
gentoo-8a5934aa38e64c3560752baff5c9c7b03eff2981.tar.bz2
gentoo-8a5934aa38e64c3560752baff5c9c7b03eff2981.zip
kde-apps: Version bump KDE Applications 16.08.2
Package-Manager: portage-2.3.2
Diffstat (limited to 'kde-apps/cantor')
-rw-r--r--kde-apps/cantor/Manifest1
-rw-r--r--kde-apps/cantor/cantor-16.08.2.ebuild95
2 files changed, 96 insertions, 0 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest
index e92281b7ac16..762f9d1cf672 100644
--- a/kde-apps/cantor/Manifest
+++ b/kde-apps/cantor/Manifest
@@ -1,2 +1,3 @@
DIST cantor-16.04.3.tar.xz 351024 SHA256 eae03b97912a193ebe2207f45dcd581ab537ef6c5feb849492fb95dec2aa0cd7 SHA512 01f8cd1ed1209a182ad798dbdaaebf5fd8cf4a29459b8bcb605108cf44382c49757ab94189080ebdca0c9c1de6036f7c9bfd4ba68c2171aff245124cf0074a5c WHIRLPOOL 7ff4ce453762885d4dca27e272e9082f45897a94b1fe11b3c844d27f9a07ae703e867d28ea665a8212218d79a91b37f34c19465b82cb31e9ea8a1f3a7b80448b
DIST cantor-16.08.1.tar.xz 360820 SHA256 3acdb1b136fe0d558fd5ef4b7aa98607a308dfd768d0d8d7c365395f2f6c5cb1 SHA512 982809c3382109599b2ccca633a4dac376b7f1b7a59a7cc1bae6c059e4302ee094fe2156b2931e4e652f67a9fa34d9eb7ec7a72ffdf9721d2825194fe1db8bc4 WHIRLPOOL d644b6874b3fae948665de24356283a1be8fecabd2649e722a8eeffc40348698309162ccd66d7fb1113cb5b9f05a3c6883b7f0dc7d99ce96ae38f70fa186d271
+DIST cantor-16.08.2.tar.xz 361340 SHA256 4c6ed7722d280b6dce60319bae5a6ace07acd6cd407f213dd098703a5d4229fe SHA512 0e2f4e319de199ed8de36fef4c4a2ecb44726ccfc11e5e4e5ba577d8112b97ab8052cbd2b4ee2520079f277383f92ecab625a0987a0b02406bbd67bcc84b48b7 WHIRLPOOL 603a0af67506855933ee6c01d507909e09899207126b6a57fb8aa8e708d4820718549db634ecd41a1f573faf4b6b3b8e759ea75a635d33ad870c71aaae6c97e8
diff --git a/kde-apps/cantor/cantor-16.08.2.ebuild b/kde-apps/cantor/cantor-16.08.2.ebuild
new file mode 100644
index 000000000000..bc2c493a0ca0
--- /dev/null
+++ b/kde-apps/cantor/cantor-16.08.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+PYTHON_COMPAT=( python2_7 )
+# FIXME: PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+inherit kde5 python-r1
+
+DESCRIPTION="Interface for doing mathematics and scientific computing"
+HOMEPAGE="https://www.kde.org/applications/education/cantor https://edu.kde.org/cantor"
+KEYWORDS="~amd64 ~x86"
+IUSE="analitza lua postscript python qalculate +R"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
+# FIXME: $(python_gen_cond_dep 'dev-qt/qtdbus:5' 'python3*')
+RDEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kpty)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ $(add_qt_dep qtxmlpatterns)
+ analitza? ( $(add_kdeapps_dep analitza) )
+ lua? ( dev-lang/luajit:2 )
+ qalculate? (
+ sci-libs/cln
+ sci-libs/libqalculate
+ )
+ postscript? ( app-text/libspectre )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+"
+DEPEND="${RDEPEND}
+ >=dev-cpp/eigen-2.0.3:2
+"
+
+RESTRICT="test"
+
+pkg_setup() {
+ use python && python_setup
+ kde5_pkg_setup
+}
+
+src_prepare() {
+ kde5_src_prepare
+
+ # FIXME: shipped FindPythonLibs3.cmake does not work for Gentoo
+ sed -e "/^find_package(PythonLibs3)/ s/^/#/" \
+ -i src/backends/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package analitza Analitza5)
+ $(cmake-utils_use_find_package lua LuaJIT)
+ $(cmake-utils_use_find_package postscript LibSpectre)
+ $(cmake-utils_use_find_package python PythonLibs)
+ $(cmake-utils_use_find_package qalculate Qalculate)
+ $(cmake-utils_use_find_package R R)
+ )
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ if ! use analitza && ! use lua && ! use python && ! use qalculate && ! use R; then
+ echo
+ ewarn "You have decided to build ${PN} with no backend."
+ ewarn "To have this application functional, please do one of below:"
+ ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'lua', 'python', 'qalculate' or 'R' USE flag enabled"
+ ewarn " # emerge -vaDu sci-mathematics/maxima"
+ echo
+ fi
+}