diff options
Diffstat (limited to 'kde-base/cantor')
| -rw-r--r-- | kde-base/cantor/Manifest | 1 | ||||
| -rw-r--r-- | kde-base/cantor/cantor-4.12.95.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-base/cantor/Manifest b/kde-base/cantor/Manifest index cbc190a39dc..1480ab65c77 100644 --- a/kde-base/cantor/Manifest +++ b/kde-base/cantor/Manifest @@ -1 +1,2 @@ DIST cantor-4.12.90.tar.xz 331000 SHA256 d98938ef8b9e33c1c66b381dfa021b1bea514162079f448e183351544f4a9505 SHA512 96dd3bae548a2c4b7f4b898375b59e3070d71cf810656937952c7492727177d0bebef4c3ccf9b4925a18f846269e48fcc5806aa05482301f1fc7a4d8f4120122 WHIRLPOOL 9ad1e981c911537a85e581bee3246ddae03ccd9021a409571bf1af00e3afdf98b6604f67effd27dde16a3d71c72c7fd1fbd100bc738dd06c37c60ce05c8b0dce +DIST cantor-4.12.95.tar.xz 330992 SHA256 c386e0ea495fbc03cda2185096290747ecbad57748b21eb82902804492935688 SHA512 8e22b9fa64abde4dc841184271e8452aab4991367fabf95df1451df0a8c77c7f10f639df9eb3184bafd8c813b074606024e37df34c03f94bb1b3f841b669f077 WHIRLPOOL 5674b568578e297a2b0c050a5cc03bb516a6b8e72de98c0c94a1b56bc1c40912c46f81f771c5fefde520232f5759718b43eeb328bd4955328d352048de6c67f5 diff --git a/kde-base/cantor/cantor-4.12.95.ebuild b/kde-base/cantor/cantor-4.12.95.ebuild new file mode 100644 index 00000000000..595b5891e9f --- /dev/null +++ b/kde-base/cantor/cantor-4.12.95.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 +} |
