diff options
Diffstat (limited to 'kde-base/kalgebra/kalgebra-4.3.0.ebuild')
-rw-r--r-- | kde-base/kalgebra/kalgebra-4.3.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/kde-base/kalgebra/kalgebra-4.3.0.ebuild b/kde-base/kalgebra/kalgebra-4.3.0.ebuild new file mode 100644 index 000000000000..b02bb9ecf860 --- /dev/null +++ b/kde-base/kalgebra/kalgebra-4.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/kalgebra-4.3.0.ebuild,v 1.1 2009/08/03 23:52:27 wired Exp $ + +EAPI="2" + +KMNAME="kdeedu" +OPENGL_REQUIRED="optional" +inherit kde4-meta + +DESCRIPTION="MathML-based graph calculator for KDE." +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="debug +handbook +plasma readline" + +DEPEND=" + readline? ( sys-libs/readline ) +" +RDEPEND="${DEPEND}" + +KMEXTRACTONLY="libkdeedu/kdeeduui" + +src_configure() { + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with readline) + $(cmake-utils_use_with plasma) + $(cmake-utils_use_with opengl OpenGL)" + + kde4-meta_src_configure +} + +src_test() { + # disable broken test + sed -i -e '/mathmlpresentationtest/ s/^/#DO_NOT_RUN_TEST /' \ + "${S}"/"${PN}"/analitza/tests/CMakeLists.txt || \ + die "sed to disable mathmlpresentationtest failed." + + kde4-meta_src_test +} |