summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-01-17 23:46:56 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-01-17 23:46:56 +0000
commit1e3148d5a5b2ef513c99b47cc4321e476dd31403 (patch)
tree6cab1492ab2372c0da616edccf0d92f784ea0227 /kde-base/kdeedu
parentAdded KDE 4.0.0's kdebugdialog. (diff)
downloadhistorical-1e3148d5a5b2ef513c99b47cc4321e476dd31403.tar.gz
historical-1e3148d5a5b2ef513c99b47cc4321e476dd31403.tar.bz2
historical-1e3148d5a5b2ef513c99b47cc4321e476dd31403.zip
Added KDE 4.0.0's kdeedu.
Package-Manager: portage-2.1.4
Diffstat (limited to 'kde-base/kdeedu')
-rw-r--r--kde-base/kdeedu/ChangeLog7
-rw-r--r--kde-base/kdeedu/files/digest-kdeedu-4.0.03
-rw-r--r--kde-base/kdeedu/kdeedu-4.0.0.ebuild69
3 files changed, 78 insertions, 1 deletions
diff --git a/kde-base/kdeedu/ChangeLog b/kde-base/kdeedu/ChangeLog
index 7c86040bab92..87065f0d5c80 100644
--- a/kde-base/kdeedu/ChangeLog
+++ b/kde-base/kdeedu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kdeedu
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/ChangeLog,v 1.221 2008/01/06 18:29:20 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/ChangeLog,v 1.222 2008/01/17 23:46:55 philantrop Exp $
+
+*kdeedu-4.0.0 (17 Jan 2008)
+
+ 17 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org> +kdeedu-4.0.0.ebuild:
+ Added KDE 4.0.0's kdeedu.
06 Jan 2008; Alexis Ballier <aballier@gentoo.org> kdeedu-3.5.8.ebuild:
Add a check for native code ocaml compiler and facile library
diff --git a/kde-base/kdeedu/files/digest-kdeedu-4.0.0 b/kde-base/kdeedu/files/digest-kdeedu-4.0.0
new file mode 100644
index 000000000000..ce8d81390226
--- /dev/null
+++ b/kde-base/kdeedu/files/digest-kdeedu-4.0.0
@@ -0,0 +1,3 @@
+MD5 73924e158e4a2de2107be441c808251f kdeedu-4.0.0.tar.bz2 41886885
+RMD160 667ba2904a235daf6e041bba3e9b19cae9147e19 kdeedu-4.0.0.tar.bz2 41886885
+SHA256 e4cd9607cb0e821e8a6f0687cfe03573de3517aba7f360360d2b46756a0e5ef2 kdeedu-4.0.0.tar.bz2 41886885
diff --git a/kde-base/kdeedu/kdeedu-4.0.0.ebuild b/kde-base/kdeedu/kdeedu-4.0.0.ebuild
new file mode 100644
index 000000000000..90bb57e40e12
--- /dev/null
+++ b/kde-base/kdeedu/kdeedu-4.0.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-4.0.0.ebuild,v 1.1 2008/01/17 23:46:55 philantrop Exp $
+
+EAPI="1"
+
+inherit kde4-base
+
+DESCRIPTION="KDE education module"
+HOMEPAGE="http://www.kde.org/"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="debug htmlhandbook cviewer opengl readline solver kig-scripting fits
+nova sbig usb designer-plugin gps"
+
+LICENSE="GPL-2 LGPL-2"
+
+RESTRICT="test"
+
+COMMONDEPEND="gps? ( sci-geosciences/gpsd )
+ fits? ( sci-libs/cfitsio )
+ nova? ( >=sci-libs/libnova-0.12.1 )
+ sbig? ( sci-libs/indilib
+ usb? ( dev-libs/libusb ) )
+ cviewer? ( >=dev-cpp/eigen-1.0.5
+ >=sci-chemistry/openbabel-2.1
+ virtual/opengl )
+ solver? ( dev-ml/facile )
+ opengl? ( virtual/opengl )
+ readline? ( sys-libs/readline )
+ kig-scripting? ( >=dev-libs/boost-1.32 )"
+
+RDEPEND="${RDEPEND} ${COMMONDEPEND}
+ || ( >=kde-base/kdebase-${PV}:${SLOT}
+ ( >=kde-base/knotify-${PV}:${SLOT} >=kde-base/phonon-${PV}:${SLOT} ) )"
+
+PATCHES="${FILESDIR}/kstars-4.0.0-destdir.patch
+ ${FILESDIR}/marble-4.0.0-fix-tests.patch"
+
+pkg_setup() {
+ use cviewer && QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} opengl"
+
+ kde4-base_pkg_setup
+}
+
+src_compile() {
+ mycmakeargs="$(cmake-utils_use_with readline Readline)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with cviewer Eigen)
+ $(cmake-utils_use_with cviewer OpenBabel2)
+ $(cmake-utils_use_with cviewer OpenGL)
+ $(cmake-utils_use_with solver OCaml)
+ $(cmake-utils_use_with solver Libfacile)
+ $(cmake-utils_use_with kig-scripting BoostPython)
+ $(cmake-utils_use_with fits CFitsio)
+ $(cmake-utils_use_with nova Nova)
+ $(cmake-utils_use_with sbig SBIG)
+ $(cmake-utils_use_with usb USB)
+ $(cmake-utils_use_with designer-plugin DESIGNER_PLUGIN)"
+
+ if use gps; then
+ mycmakeargs="${mycmakeargs} -DHAVE_LIBGPS=1"
+ else
+ sed -i -e 's:FIND_LIBRARY(libgps_LIBRARIES gps):# LIBGPS DISABLED &:' \
+ marble/Findlibgps.cmake || die "sed failed."
+ fi
+
+ kde4-base_src_compile
+}