/[gentoo-x86]/kde-base/cantor/cantor-4.9.0.ebuild
Gentoo

Contents of /kde-base/cantor/cantor-4.9.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Sep 21 09:32:36 2012 UTC (2 years, 4 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove KDE SC 4.9.0

(Portage version: 2.2.0_alpha130/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/cantor/cantor-4.9.0.ebuild,v 1.2 2012/08/04 14:07:49 johu Exp $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KDE_SCM="git"
9 inherit kde4-base
10
11 DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
12 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
13 IUSE="analitza debug postscript qalculate +R"
14
15 # TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
16 RDEPEND="
17 analitza? ( $(add_kdebase_dep analitza) )
18 qalculate? (
19 sci-libs/cln
20 sci-libs/libqalculate
21 )
22 postscript? ( app-text/libspectre )
23 R? ( dev-lang/R )
24 x11-libs/qt-xmlpatterns:4
25 "
26 DEPEND="${RDEPEND}
27 >=dev-cpp/eigen-2.0.3:2
28 "
29
30 PATCHES=( "${FILESDIR}/${P}-parallel-build.patch" )
31
32 src_configure() {
33 mycmakeargs=(
34 $(cmake-utils_use_with analitza)
35 $(cmake-utils_use_with postscript LibSpectre)
36 $(cmake-utils_use_with qalculate)
37 $(cmake-utils_use_with R)
38 )
39 kde4-base_src_configure
40 }
41
42 pkg_postinst() {
43 kde4-base_pkg_postinst
44
45 if ! use analitza && ! use qalculate && ! use R; then
46 echo
47 ewarn "You have decided to build ${PN} with no backend."
48 ewarn "To have this application functional, please do one of below:"
49 ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'qalculate' or 'R' USE flag enabled"
50 ewarn " # emerge -vaDu sci-mathematics/maxima"
51 echo
52 fi
53 }

  ViewVC Help
Powered by ViewVC 1.1.20