From 3e87f5b4c4b80dba2739d1509857ddccb274cfaf Mon Sep 17 00:00:00 2001 From: Wulf Krueger Date: Wed, 20 Feb 2008 22:54:08 +0000 Subject: Version bump to KDE 3.5.9. (Portage version: 2.1.4.4) --- kde-base/kdesdk/ChangeLog | 7 +++- kde-base/kdesdk/kdesdk-3.5.9.ebuild | 81 +++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 kde-base/kdesdk/kdesdk-3.5.9.ebuild (limited to 'kde-base/kdesdk') diff --git a/kde-base/kdesdk/ChangeLog b/kde-base/kdesdk/ChangeLog index f031711dba1b..63ae0098c5ef 100644 --- a/kde-base/kdesdk/ChangeLog +++ b/kde-base/kdesdk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdesdk # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/ChangeLog,v 1.165 2008/02/19 02:30:57 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/ChangeLog,v 1.166 2008/02/20 22:54:08 philantrop Exp $ + +*kdesdk-3.5.9 (20 Feb 2008) + + 20 Feb 2008; Wulf C. Krueger +kdesdk-3.5.9.ebuild: + Version bump to KDE 3.5.9. 19 Feb 2008; Ingmar Vanhassel -kdesdk-3.5.5.ebuild: Old. diff --git a/kde-base/kdesdk/kdesdk-3.5.9.ebuild b/kde-base/kdesdk/kdesdk-3.5.9.ebuild new file mode 100644 index 000000000000..69d8a44b80af --- /dev/null +++ b/kde-base/kdesdk/kdesdk-3.5.9.ebuild @@ -0,0 +1,81 @@ +# 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-3.5.9.ebuild,v 1.1 2008/02/20 22:54:08 philantrop Exp $ + +EAPI="1" +inherit db-use kde-dist + +DESCRIPTION="KDE SDK: Cervisia, KBabel, KCachegrind, Kompare, Umbrello,..." + +SRC_URI="${SRC_URI} mirror://gentoo/kdesdk-3.5-patchset-01.tar.bz2" + +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="berkdb kdehiddenvisibility subversion" + +DEPEND="subversion? ( dev-util/subversion ) + berkdb? ( =sys-libs/db-4* )" + +RDEPEND="${DEPEND} + dev-util/cvs + media-gfx/graphviz" + +DEPEND="${RDEPEND} + sys-devel/flex" + +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 +} + +src_compile() { + local myconf="$(use_with subversion)" + + if use berkdb; then + myconf="${myconf} + --with-berkeley-db + --with-db-lib="$(db_libname)" + --with-extra-includes=$(db_includedir)" + else + myconf="${myconf} --without-berkeley-db" + fi + + if use subversion ; then + if ldd /usr/bin/svn | grep -q libapr-0; then + myconf="--with-apr-config=/usr/bin/apr-config + --with-apu-config=/usr/bin/apu-config" + else + myconf="--with-apr-config=/usr/bin/apr-1-config + --with-apu-config=/usr/bin/apu-1-config" + fi + fi + + kde_src_compile +} + +src_install() { + kde_src_install + for f in ${KDEDIR}/share/apps/kapptemplate/admin/{bcheck,conf.change,config,detect-autoconf}.pl ; do + fperms 755 ${f} + done +} + +pkg_postinst() { + kde_pkg_postinst + + echo + elog "To make full use of ${PN} you should emerge >=dev-util/valgrind-3.2.0 and/or" + elog "dev-util/oprofile." + echo +} -- cgit v1.2.3-65-gdbad