summaryrefslogtreecommitdiff
path: root/kde-base/cantor/cantor-4.9.49.9999.ebuild
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-07-30 03:18:28 +1000
committerMichael Palimaka <kensington@gentoo.org>2012-07-30 03:18:28 +1000
commitb7df78a3c81d81e9eaecccd3f09f5fad6a0d6f12 (patch)
tree62c615ba19755aa259db417701d0a386ab85c7e0 /kde-base/cantor/cantor-4.9.49.9999.ebuild
parent9402d6cc6c49cdeb2da803c69883b7a9170b0536 (diff)
downloadkde-b7df78a3c81d81e9eaecccd3f09f5fad6a0d6f12.tar.gz
kde-b7df78a3c81d81e9eaecccd3f09f5fad6a0d6f12.tar.bz2
kde-b7df78a3c81d81e9eaecccd3f09f5fad6a0d6f12.zip
[kde-base/cantor] Add libqalculate support and improve ewarn message about backends. Add missing dependency.
(Portage version: 2.1.11.9/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'kde-base/cantor/cantor-4.9.49.9999.ebuild')
-rw-r--r--kde-base/cantor/cantor-4.9.49.9999.ebuild12
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