blob: f52852ae84c327e5e4be544fe8eaf5f65d2995e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/kalgebra-4.7.3.ebuild,v 1.4 2011/12/07 22:13:40 hwoarang Exp $
EAPI=4
KDE_HANDBOOK="optional"
OPENGL_REQUIRED="optional"
KDE_SCM="git"
inherit kde4-base
DESCRIPTION="MathML-based graph calculator for KDE."
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="debug +plasma readline"
DEPEND="
$(add_kdebase_dep libkdeedu)
readline? ( sys-libs/readline )
"
RDEPEND="${DEPEND}"
KMEXTRACTONLY="
libkdeedu/kdeeduui/
"
KMEXTRA="
libkdeedu/qtmmlwidget/
"
RESTRICT="test"
# bug 382561
PATCHES=(
"${FILESDIR}"/${PN}-4.5.73-solaris-graph2d.patch
)
src_configure() {
mycmakeargs=(
$(cmake-utils_use_with readline)
$(cmake-utils_use_with plasma)
$(cmake-utils_use_with opengl OpenGL)
)
kde4-base_src_configure
}
src_test() {
# disable broken test
sed -i -e '/mathmlpresentationtest/ s/^/#DO_NOT_RUN_TEST /' \
"${S}"/analitza/tests/CMakeLists.txt || \
die "sed to disable mathmlpresentationtest failed."
kde4-base_src_test
}
|