/[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.2 - (hide annotations) (download)
Sat Aug 4 14:07:49 2012 UTC (2 years, 1 month ago) by johu
Branch: MAIN
Changes since 1.1: +3 -1 lines
Add upstream patch by Michael Palimaka <kensington@gentoo.org> to fix parellel build issue wrt bug #415015.

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

1 johu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 johu 1.2 # $Header: /var/cvsroot/gentoo-x86/kde-base/cantor/cantor-4.9.0.ebuild,v 1.1 2012/08/01 22:16:56 johu Exp $
4 johu 1.1
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 johu 1.2 PATCHES=( "${FILESDIR}/${P}-parallel-build.patch" )
31    
32 johu 1.1 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