summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-07-09 15:14:29 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2011-07-09 15:14:29 +0000
commit198ce394c73bbfe7e1f269f6e39a5a98cab823a2 (patch)
tree4491916cd89010371521f0c68a631a977483b823 /kde-base/kalzium
parentBump to an up-to-date version, and add maintainer (diff)
downloadgentoo-2-198ce394c73bbfe7e1f269f6e39a5a98cab823a2.tar.gz
gentoo-2-198ce394c73bbfe7e1f269f6e39a5a98cab823a2.tar.bz2
gentoo-2-198ce394c73bbfe7e1f269f6e39a5a98cab823a2.zip
[kde-base] Add KDE SC 4.6.5
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kalzium')
-rw-r--r--kde-base/kalzium/ChangeLog8
-rw-r--r--kde-base/kalzium/files/kalzium-4.6.49.9999-nolib.patch9
-rw-r--r--kde-base/kalzium/kalzium-4.6.5.ebuild54
3 files changed, 70 insertions, 1 deletions
diff --git a/kde-base/kalzium/ChangeLog b/kde-base/kalzium/ChangeLog
index 647e076fcbc2..0f90360706b2 100644
--- a/kde-base/kalzium/ChangeLog
+++ b/kde-base/kalzium/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kalzium
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.192 2011/07/06 20:05:39 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.193 2011/07/09 15:14:25 alexxy Exp $
+
+*kalzium-4.6.5 (09 Jul 2011)
+
+ 09 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> +kalzium-4.6.5.ebuild,
+ +files/kalzium-4.6.49.9999-nolib.patch:
+ Version bump KDE SC 4.6.5
06 Jul 2011; Andreas K. Huettel <dilfridge@gentoo.org> -kalzium-4.6.2.ebuild:
Drop KDE 4.6.2
diff --git a/kde-base/kalzium/files/kalzium-4.6.49.9999-nolib.patch b/kde-base/kalzium/files/kalzium-4.6.49.9999-nolib.patch
new file mode 100644
index 000000000000..833ccd6a2d88
--- /dev/null
+++ b/kde-base/kalzium/files/kalzium-4.6.49.9999-nolib.patch
@@ -0,0 +1,9 @@
+diff -urN kalzium-4.6.49.9999.orig/CMakeLists.txt kalzium-4.6.49.9999/CMakeLists.txt
+--- kalzium-4.6.49.9999.orig/CMakeLists.txt 2011-06-12 02:22:54.537552101 +0200
++++ kalzium-4.6.49.9999/CMakeLists.txt 2011-06-12 02:23:12.484578827 +0200
+@@ -45,4 +45,4 @@
+ add_subdirectory(src)
+ add_subdirectory(data)
+ add_subdirectory(plasmoid)
+-add_subdirectory(libscience)
++#add_subdirectory(libscience)
diff --git a/kde-base/kalzium/kalzium-4.6.5.ebuild b/kde-base/kalzium/kalzium-4.6.5.ebuild
new file mode 100644
index 000000000000..f658363a0897
--- /dev/null
+++ b/kde-base/kalzium/kalzium-4.6.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-4.6.5.ebuild,v 1.1 2011/07/09 15:14:25 alexxy Exp $
+
+EAPI=4
+
+KDE_HANDBOOK="optional"
+KDE_SCM="git"
+CPPUNIT_REQUIRED="optional"
+OPENGL_REQUIRED="always"
+if [[ ${PV} == *9999 ]]; then
+ kde_eclass="kde4-base"
+else
+ KMNAME="kdeedu"
+ kde_eclass="kde4-meta"
+fi
+inherit flag-o-matic ${kde_eclass}
+
+DESCRIPTION="KDE: periodic table of the elements."
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="editor debug +plasma solver"
+
+RDEPEND="
+ $(add_kdebase_dep libkdeedu)
+ editor? ( >=sci-chemistry/openbabel-2.2 )
+"
+DEPEND="${RDEPEND}
+ editor? ( >=dev-cpp/eigen-2.0.3:2 )
+ solver? ( dev-ml/facile[ocamlopt] )
+"
+
+KMEXTRACTONLY="
+ libkdeedu/kdeeduui/
+ kalzium/libscience/
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.6.49.9999-nolib.patch
+)
+
+src_configure(){
+ # Fix missing finite()
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
+
+ mycmakeargs=(
+ $(cmake-utils_use_with editor Eigen2)
+ $(cmake-utils_use_with editor OpenBabel2)
+ $(cmake-utils_use_with editor OpenGL)
+ $(cmake-utils_use_with solver OCaml)
+ $(cmake-utils_use_with solver Libfacile)
+ )
+
+ ${kde_eclass}_src_configure
+}