diff options
Diffstat (limited to 'kde-base/cantor/cantor-4.9.49.9999.ebuild')
| -rw-r--r-- | kde-base/cantor/cantor-4.9.49.9999.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kde-base/cantor/cantor-4.9.49.9999.ebuild b/kde-base/cantor/cantor-4.9.49.9999.ebuild index 35b844b06ed..0b6e2fa1eb3 100644 --- a/kde-base/cantor/cantor-4.9.49.9999.ebuild +++ b/kde-base/cantor/cantor-4.9.49.9999.ebuild @@ -10,13 +10,18 @@ inherit kde4-base DESCRIPTION="KDE4 interface for doing mathematics and scientific computing" KEYWORDS="" -IUSE="analitza debug postscript +R" +IUSE="analitza debug postscript qalculate +R" # 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 ) R? ( dev-lang/R ) + x11-libs/qt-xmlpatterns:4 " DEPEND="${RDEPEND} >=dev-cpp/eigen-2.0.3:2 @@ -26,6 +31,7 @@ src_configure() { mycmakeargs=( $(cmake-utils_use_with analitza) $(cmake-utils_use_with postscript LibSpectre) + $(cmake-utils_use_with qalculate) $(cmake-utils_use_with R) ) kde4-base_src_configure @@ -34,11 +40,11 @@ src_configure() { pkg_postinst() { kde4-base_pkg_postinst - if ! use R; then + if ! use analitza && ! 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 'R' USE flag enabled" + ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'qalculate' or 'R' USE flag enabled" ewarn " # emerge -vaDu sci-mathematics/maxima" echo fi |
