summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-05-15 22:41:35 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-05-15 22:41:35 +0000
commit0b3cc16e43381af2dc07b50e1b24a155d5887815 (patch)
tree7debf435667056ca49f96072337ebd6dad1b0202
parentAdded KDE 4.0.4 version of juk. Thanks to Jorge Manuel B. S. Vicetto. (diff)
downloadgentoo-2-0b3cc16e43381af2dc07b50e1b24a155d5887815.tar.gz
gentoo-2-0b3cc16e43381af2dc07b50e1b24a155d5887815.tar.bz2
gentoo-2-0b3cc16e43381af2dc07b50e1b24a155d5887815.zip
Added KDE 4.0.4 version of kalgebra. Thanks to Jorge Manuel B. S. Vicetto.
(Portage version: 2.1.5)
-rw-r--r--kde-base/kalgebra/ChangeLog7
-rw-r--r--kde-base/kalgebra/kalgebra-4.0.4.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/kde-base/kalgebra/ChangeLog b/kde-base/kalgebra/ChangeLog
index aa8d48be06f5..58d134665fe5 100644
--- a/kde-base/kalgebra/ChangeLog
+++ b/kde-base/kalgebra/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kalgebra
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/ChangeLog,v 1.8 2008/04/03 20:38:18 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/ChangeLog,v 1.9 2008/05/15 22:41:35 ingmar Exp $
+
+*kalgebra-4.0.4 (15 May 2008)
+
+ 15 May 2008; Ingmar Vanhassel <ingmar@gentoo.org> +kalgebra-4.0.4.ebuild:
+ Added KDE 4.0.4 version of kalgebra. Thanks to Jorge Manuel B. S. Vicetto.
*kalgebra-4.0.3 (03 Apr 2008)
diff --git a/kde-base/kalgebra/kalgebra-4.0.4.ebuild b/kde-base/kalgebra/kalgebra-4.0.4.ebuild
new file mode 100644
index 000000000000..53eec84522aa
--- /dev/null
+++ b/kde-base/kalgebra/kalgebra-4.0.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/kalgebra-4.0.4.ebuild,v 1.1 2008/05/15 22:41:35 ingmar Exp $
+
+EAPI="1"
+
+KMNAME=kdeedu
+OPENGL_REQUIRED="optional"
+inherit kde4-meta
+
+DESCRIPTION="MathML-based graph calculator for KDE."
+KEYWORDS="~amd64 ~x86"
+IUSE="debug htmlhandbook opengl readline"
+
+DEPEND="opengl? ( virtual/opengl )
+ readline? ( sys-libs/readline )"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY=libkdeedu/kdeeduui
+
+# Needed for USE="-opengl"
+PATCHES="${FILESDIR}/${PN}-4.0.2-opengl.patch"
+
+src_compile() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with readline Readline)
+ $(cmake-utils_use_with opengl OpenGL)"
+
+ kde4-meta_src_compile
+}
+
+src_test() {
+# Miraculously, the tests seem to have been fixed. Leaving this in for now, though.
+# sed -i -e '/functiontest/ s/^/#DONOTRUNTEST/' \
+# kalgebra/src/tests/CMakeLists.txt || \
+# die "Failed to disable functiontest."
+
+ kde4-meta_src_test
+}