summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-01-17 23:53:40 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-01-17 23:53:40 +0000
commit3655848776a2c16aaae09ce94116a64a6bf9c4b5 (patch)
treeca17a5a4e856ef51c067366a9149b944db5765b3 /kde-base/kdesdk
parentAdded KDE 4.0.0's kdepimlibs. (diff)
downloadgentoo-2-3655848776a2c16aaae09ce94116a64a6bf9c4b5.tar.gz
gentoo-2-3655848776a2c16aaae09ce94116a64a6bf9c4b5.tar.bz2
gentoo-2-3655848776a2c16aaae09ce94116a64a6bf9c4b5.zip
Added KDE 4.0.0's kdesdk.
(Portage version: 2.1.4)
Diffstat (limited to 'kde-base/kdesdk')
-rw-r--r--kde-base/kdesdk/ChangeLog9
-rw-r--r--kde-base/kdesdk/files/digest-kdesdk-4.0.03
-rw-r--r--kde-base/kdesdk/kdesdk-4.0.0.ebuild58
3 files changed, 68 insertions, 2 deletions
diff --git a/kde-base/kdesdk/ChangeLog b/kde-base/kdesdk/ChangeLog
index 02eb770022d9..f05094d5bb69 100644
--- a/kde-base/kdesdk/ChangeLog
+++ b/kde-base/kdesdk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kdesdk
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/ChangeLog,v 1.154 2007/10/21 10:53:16 carlo Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/ChangeLog,v 1.155 2008/01/17 23:53:39 philantrop Exp $
+
+*kdesdk-4.0.0 (17 Jan 2008)
+
+ 17 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org> +kdesdk-4.0.0.ebuild:
+ Added KDE 4.0.0's kdesdk.
21 Oct 2007; Carsten Lohrke <carlo@gentoo.org> kdesdk-3.5.8.ebuild:
Unbreak for loop.
diff --git a/kde-base/kdesdk/files/digest-kdesdk-4.0.0 b/kde-base/kdesdk/files/digest-kdesdk-4.0.0
new file mode 100644
index 000000000000..68e7815c25dd
--- /dev/null
+++ b/kde-base/kdesdk/files/digest-kdesdk-4.0.0
@@ -0,0 +1,3 @@
+MD5 7777425fe349a25c78b808e3fc04165a kdesdk-4.0.0.tar.bz2 4219714
+RMD160 4f2c34a0e5939be6f833b48901c4c359e88d4b0c kdesdk-4.0.0.tar.bz2 4219714
+SHA256 cdecc5519f5b29dcf2eceb3fd6fbb90e3f800adcd67ace61b1c2986e55b8e4e3 kdesdk-4.0.0.tar.bz2 4219714
diff --git a/kde-base/kdesdk/kdesdk-4.0.0.ebuild b/kde-base/kdesdk/kdesdk-4.0.0.ebuild
new file mode 100644
index 000000000000..176a9e7c0c87
--- /dev/null
+++ b/kde-base/kdesdk/kdesdk-4.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/kdesdk-4.0.0.ebuild,v 1.1 2008/01/17 23:53:39 philantrop Exp $
+
+EAPI="1"
+
+inherit kde4-base
+
+DESCRIPTION="KDE SDK: Cervisia, KBabel, KCachegrind, Kompare, Umbrello,..."
+HOMEPAGE="http://www.kde.org/"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="debug htmlhandbook subversion"
+LICENSE="GPL-2 LGPL-2"
+
+DEPEND="
+ dev-libs/libxml2
+ dev-libs/libxslt
+ || ( >=kde-base/plasma-${PV}:${SLOT}
+ >=kde-base/kdebase-${PV}:${SLOT} )
+ subversion? ( dev-libs/apr dev-util/subversion )"
+RDEPEND="${DEPEND}
+ dev-util/cvs
+ media-gfx/graphviz"
+
+pkg_setup() {
+ if use subversion ; then
+ if ldd /usr/bin/svn | grep -q libapr-0 \
+ && ! has_version dev-libs/apr:0;
+ then
+ eerror "Subversion has been built against =dev-libs/apr-0*, but no matching version is installed."
+ die "Please rebuild dev-util/subversion."
+ fi
+ if ldd /usr/bin/svn | grep -q libapr-1 \
+ && ! has_version dev-libs/apr:1;
+ then
+ eerror "Subversion has been built against =dev-libs/apr-1*, but no matching version is installed."
+ die "Please rebuild dev-util/subversion."
+ fi
+ fi
+
+ kde4svn_pkg_setup
+}
+
+src_compile() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with subversion SVN)"
+
+ if use subversion; then
+ if ldd /usr/bin/svn | grep -q libapr-0; then
+ mycmakeargs="${mycmakeargs} -DAPRCONFIG_EXECUTABLE=/usr/bin/apr-config"
+ else
+ mycmakeargs="${mycmakeargs} -DAPRCONFIG_EXECUTABLE=/usr/bin/apr-1-config"
+ fi
+ fi
+
+ kde4-base_src_compile
+}