diff options
| author | Johannes Huber <johu@gentoo.org> | 2014-03-28 00:30:44 +0100 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2014-03-28 00:30:44 +0100 |
| commit | 1dc24bb29215f240192dcaedadc09cbb65d8fa75 (patch) | |
| tree | cc7dce62d3c673f0da1d252bceb5bba9d6f21ace /kde-base/cantor | |
| parent | 77616d12b368afdfc971993919e1021d4c05c926 (diff) | |
| download | kde-1dc24bb29215f240192dcaedadc09cbb65d8fa75.tar.gz kde-1dc24bb29215f240192dcaedadc09cbb65d8fa75.tar.bz2 kde-1dc24bb29215f240192dcaedadc09cbb65d8fa75.zip | |
[kde-base] Add KDE SC 4.13 rc 1
Package-Manager: portage-2.2.10
Diffstat (limited to 'kde-base/cantor')
| -rw-r--r-- | kde-base/cantor/Manifest | 1 | ||||
| -rw-r--r-- | kde-base/cantor/cantor-4.12.97.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-base/cantor/Manifest b/kde-base/cantor/Manifest index 06e0379d234..b23a66ebb31 100644 --- a/kde-base/cantor/Manifest +++ b/kde-base/cantor/Manifest @@ -1 +1,2 @@ DIST cantor-4.12.95.tar.xz 330992 SHA256 c386e0ea495fbc03cda2185096290747ecbad57748b21eb82902804492935688 SHA512 8e22b9fa64abde4dc841184271e8452aab4991367fabf95df1451df0a8c77c7f10f639df9eb3184bafd8c813b074606024e37df34c03f94bb1b3f841b669f077 WHIRLPOOL 5674b568578e297a2b0c050a5cc03bb516a6b8e72de98c0c94a1b56bc1c40912c46f81f771c5fefde520232f5759718b43eeb328bd4955328d352048de6c67f5 +DIST cantor-4.12.97.tar.xz 331832 SHA256 626d66f8d7ddb3a4b3a44454853564f8d23768c9a013d6e4a6aefd20be941f3e SHA512 fe172641320dd70d280ea56efcbd80554a1aedd64920aaa38a6a83b299d63188a07beaed0b48e1464f9f4b3ebbbd763c338c368452f711914eca1266ec83569e WHIRLPOOL ada07f398600ab696f6d27f933adce49477aac13189b0a641c71af2bee19bc2cbd088af5d84da1042c453cca24da63b080d487a663700df3cf1fe7afe140fd29 diff --git a/kde-base/cantor/cantor-4.12.97.ebuild b/kde-base/cantor/cantor-4.12.97.ebuild new file mode 100644 index 00000000000..a279e966bb3 --- /dev/null +++ b/kde-base/cantor/cantor-4.12.97.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +KDE_HANDBOOK="optional" +PYTHON_COMPAT=( python2_7 ) +inherit kde4-base python-single-r1 + +DESCRIPTION="KDE4 interface for doing mathematics and scientific computing" +HOMEPAGE="http://www.kde.org/applications/education/cantor http://edu.kde.org/cantor" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="analitza debug postscript python qalculate +R" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# TODO Add Sage Mathematics Software backend (http://www.sagemath.org) +RDEPEND=" + analitza? ( $(add_kdebase_dep analitza) ) + qalculate? ( + sci-libs/cln + sci-libs/libqalculate + ) + postscript? ( app-text/libspectre ) + python? ( ${PYTHON_DEPS} ) + R? ( dev-lang/R ) + dev-qt/qtxmlpatterns:4 +" +DEPEND="${RDEPEND} + >=dev-cpp/eigen-2.0.3:2 +" + +RESTRICT="test" + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with analitza) + $(cmake-utils_use_with postscript LibSpectre) + $(cmake-utils_use_with python PythonLibs) + $(cmake-utils_use_with qalculate) + $(cmake-utils_use_with R) + ) + kde4-base_src_configure +} + +pkg_postinst() { + kde4-base_pkg_postinst + + if ! use analitza && ! 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', 'python', 'qalculate' or 'R' USE flag enabled" + ewarn " # emerge -vaDu sci-mathematics/maxima" + echo + fi +} |
