diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2008-03-10 23:20:55 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2008-03-10 23:20:55 +0000 |
commit | f36b96be39f4b5a7b1fb14a5b9d3cdd1b98b835f (patch) | |
tree | c34f1aec889e00a0a7d4d34b91cec00c41080ff1 /kde-base/kalgebra | |
parent | Version bump to KDE 4.0.2. (diff) | |
download | gentoo-2-f36b96be39f4b5a7b1fb14a5b9d3cdd1b98b835f.tar.gz gentoo-2-f36b96be39f4b5a7b1fb14a5b9d3cdd1b98b835f.tar.bz2 gentoo-2-f36b96be39f4b5a7b1fb14a5b9d3cdd1b98b835f.zip |
Version bump to KDE 4.0.2.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base/kalgebra')
-rw-r--r-- | kde-base/kalgebra/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kalgebra/files/kalgebra-4.0.2-opengl.patch | 23 | ||||
-rw-r--r-- | kde-base/kalgebra/kalgebra-4.0.2.ebuild | 38 |
3 files changed, 68 insertions, 1 deletions
diff --git a/kde-base/kalgebra/ChangeLog b/kde-base/kalgebra/ChangeLog index 3f171e95da99..fdee7d3880d9 100644 --- a/kde-base/kalgebra/ChangeLog +++ b/kde-base/kalgebra/ChangeLog @@ -1,6 +1,12 @@ # 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.5 2008/02/17 01:48:26 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kalgebra/ChangeLog,v 1.6 2008/03/10 23:20:54 philantrop Exp $ + +*kalgebra-4.0.2 (10 Mar 2008) + + 10 Mar 2008; Wulf C. Krueger <philantrop@gentoo.org> + +files/kalgebra-4.0.2-opengl.patch, +kalgebra-4.0.2.ebuild: + Version bump to KDE 4.0.2 16 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> -files/kdeedu-4.0.0-opengl.patch, -kalgebra-4.0.0.ebuild: diff --git a/kde-base/kalgebra/files/kalgebra-4.0.2-opengl.patch b/kde-base/kalgebra/files/kalgebra-4.0.2-opengl.patch new file mode 100644 index 000000000000..0ca889f566e9 --- /dev/null +++ b/kde-base/kalgebra/files/kalgebra-4.0.2-opengl.patch @@ -0,0 +1,23 @@ +Index: kalgebra/src/CMakeLists.txt +=================================================================== +--- kalgebra/src/CMakeLists.txt (revision 767350) ++++ kalgebra/src/CMakeLists.txt (working copy) +@@ -24,7 +24,6 @@ + functionedit.cpp + varedit.cpp + main.cpp +- graph3d.cpp + algebrahighlighter.cpp + expressionedit.cpp + graph2d.cpp +@@ -33,6 +32,10 @@ + functionimpl.cpp + ) + ++if(OPENGL_FOUND) ++ set(kalgebra_SRCS ${kalgebra_SRCS} graph3d.cpp) ++endif(OPENGL_FOUND) ++ + kde4_add_library(analitza ${analitza_SRCS}) + target_link_libraries(analitza ${QT_QTCORE_LIBRARY} ${QT_QTXML_LIBRARY} ${KDE4_KDECORE_LIBS}) + diff --git a/kde-base/kalgebra/kalgebra-4.0.2.ebuild b/kde-base/kalgebra/kalgebra-4.0.2.ebuild new file mode 100644 index 000000000000..7aff511c6abe --- /dev/null +++ b/kde-base/kalgebra/kalgebra-4.0.2.ebuild @@ -0,0 +1,38 @@ +# 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.2.ebuild,v 1.1 2008/03/10 23:20:54 philantrop 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}/${P}-opengl.patch" + +src_compile() { + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with readline Readline) + $(cmake-utils_use_with opengl OpenGL)" + + kde4-meta_src_compile +} + +src_test() { + sed -i -e '/functiontest/ s/^/#DONOTRUNTEST/' \ + kalgebra/src/tests/CMakeLists.txt || \ + die "Failed to disable functiontest." + + kde4-meta_src_test +} |