summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kalgebra/kalgebra-4.8.0.ebuild')
-rw-r--r--kde-base/kalgebra/kalgebra-4.8.0.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/kde-base/kalgebra/kalgebra-4.8.0.ebuild b/kde-base/kalgebra/kalgebra-4.8.0.ebuild
new file mode 100644
index 000000000000..a6b4a63df0c8
--- /dev/null
+++ b/kde-base/kalgebra/kalgebra-4.8.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/kalgebra-4.8.0.ebuild,v 1.1 2012/01/25 18:17:23 johu Exp $
+
+EAPI=4
+
+KDE_HANDBOOK="optional"
+OPENGL_REQUIRED="optional"
+KDE_SCM="git"
+inherit kde4-base
+
+DESCRIPTION="MathML-based graph calculator for KDE."
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug +plasma readline"
+
+DEPEND="
+ $(add_kdebase_dep analitza)
+ $(add_kdebase_dep libkdeedu)
+ readline? ( sys-libs/readline )
+"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="
+ libkdeedu/kdeeduui/
+"
+KMEXTRA="
+ libkdeedu/qtmmlwidget/
+"
+
+RESTRICT="test"
+# bug 382561
+
+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
+}