diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2014-03-30 03:13:58 +1100 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2014-03-30 03:13:58 +1100 |
| commit | f4a41b6fd30db22f8885d15a34433ea4d6495101 (patch) | |
| tree | 9968ac6264d772c6d30e2b03cba2a0622784e28f /kde-base/cantor | |
| parent | 59c5bbe2d665d2ff1db9895c03bf15bcba48c1e7 (diff) | |
| download | kde-f4a41b6fd30db22f8885d15a34433ea4d6495101.tar.gz kde-f4a41b6fd30db22f8885d15a34433ea4d6495101.tar.bz2 kde-f4a41b6fd30db22f8885d15a34433ea4d6495101.zip | |
[kde-base] Add KDE SC 4.12.4
Diffstat (limited to 'kde-base/cantor')
| -rw-r--r-- | kde-base/cantor/Manifest | 1 | ||||
| -rw-r--r-- | kde-base/cantor/cantor-4.12.4.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-base/cantor/Manifest b/kde-base/cantor/Manifest index 45074d3351e..7f3ea38933d 100644 --- a/kde-base/cantor/Manifest +++ b/kde-base/cantor/Manifest @@ -1 +1,2 @@ +DIST cantor-4.12.4.tar.xz 331384 SHA256 4955b1d704b0c63fcf42542f65f9332ce7443a04b940d3310384bed5a0eeb9f4 SHA512 bb311400adf224dacab41cc4102e5a052f2294e4e764dbb500994c74d5a871b7bf8ff472d915a5246bdfb5af5b0cfb52d67a440ef2241c7c560939036a3a6703 WHIRLPOOL d0115dd8f605f5bb0009ce6f989807eff753bcafe48bca825163c7fc01a1eb642e1eb8f6d2d811428da0c35dff440112627dce90e62d19313613ac8ebcedb9f9 DIST cantor-4.12.97.tar.xz 331832 SHA256 626d66f8d7ddb3a4b3a44454853564f8d23768c9a013d6e4a6aefd20be941f3e SHA512 fe172641320dd70d280ea56efcbd80554a1aedd64920aaa38a6a83b299d63188a07beaed0b48e1464f9f4b3ebbbd763c338c368452f711914eca1266ec83569e WHIRLPOOL ada07f398600ab696f6d27f933adce49477aac13189b0a641c71af2bee19bc2cbd088af5d84da1042c453cca24da63b080d487a663700df3cf1fe7afe140fd29 diff --git a/kde-base/cantor/cantor-4.12.4.ebuild b/kde-base/cantor/cantor-4.12.4.ebuild new file mode 100644 index 00000000000..ebe0f563364 --- /dev/null +++ b/kde-base/cantor/cantor-4.12.4.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 ~arm ~ppc ~ppc64 ~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 +} |
