diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/kdevelop/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/kdevelop/kdevelop-3.5.4.ebuild | 112 |
2 files changed, 119 insertions, 2 deletions
diff --git a/dev-util/kdevelop/ChangeLog b/dev-util/kdevelop/ChangeLog index e771fd9a65fa..677900986df1 100644 --- a/dev-util/kdevelop/ChangeLog +++ b/dev-util/kdevelop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/kdevelop -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.169 2008/09/04 05:00:11 jer Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.170 2009/01/05 16:38:50 patrick Exp $ + +*kdevelop-3.5.4 (05 Jan 2009) + + 05 Jan 2009; Patrick Lauer <patrick@gentoo.org> +kdevelop-3.5.4.ebuild: + Bump to 3.5.4, fixes #253369. SRC_URI now pulls from kde mirrors. 04 Sep 2008; Jeroen Roovers <jer@gentoo.org> kdevelop-3.5.2-r1.ebuild: Stable for HPPA too. diff --git a/dev-util/kdevelop/kdevelop-3.5.4.ebuild b/dev-util/kdevelop/kdevelop-3.5.4.ebuild new file mode 100644 index 000000000000..d3e56e2ba9d2 --- /dev/null +++ b/dev-util/kdevelop/kdevelop-3.5.4.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-3.5.4.ebuild,v 1.1 2009/01/05 16:38:50 patrick Exp $ + +ARTS_REQUIRED="never" + +inherit kde eutils db-use + +DESCRIPTION="Integrated Development Environment for Unix, supporting KDE/Qt, C/C++ and many other languages." +HOMEPAGE="http://www.kdevelop.org" +SRC_URI="mirror://kde/stable/3.5.10/src/${P}.tar.bz2" + +LICENSE="GPL-2" + +SLOT="3" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="ada clearcase cvs fortran haskell java pascal perforce perl php python ruby sql subversion" + +DEPEND="sys-devel/gdb + >=sys-libs/db-4.1 + cvs? ( || ( =kde-base/cervisia-3.5* =kde-base/kdesdk-3.5* ) )" + +RDEPEND="${DEPEND} + subversion? ( || ( =kde-base/kdesdk-kioslaves-3.5* =kde-base/kdesdk-3.5* ) )" +DEPEND="${DEPEND} + >=sys-devel/flex-2.5.33" + +need-kde 3.5 + +# -j5 went flawlessly, here... +#MAKEOPTS="${MAKEOPTS} -j1" + +pkg_setup() { + if use subversion && \ + has_version =kde-base/kdesdk-3.5* && \ + ! built_with_use =kde-base/kdesdk-3.5* subversion; then + eerror "To build this package with USE=subversion" + eerror "=kde-base/kdesdk-3.5* must be built with USE=subversion too." + die "Please rebuild =kde-base/kdesdk-3.5* with USE=subversion." + fi +} + +src_unpack() { + kde_src_unpack + + # Update the admin dir used in KDE template projects. + # See also kde bug 104386. + for i in "${S}"/admin/*; do + cp "${i}" "${S}/parts/appwizard/common/admin/" + done + + rm -f "${S}/configure" +} + +src_compile() { + local myconf + myconf="--with-kdelibsdoxy-dir=${KDEDIR}/share/doc/HTML/en/kdelibs-apidocs" + + # languages + myconf="${myconf} $(use_enable java) $(use_enable python) + $(use_enable ruby) $(use_enable ada) $(use_enable fortran) + $(use_enable haskell) $(use_enable pascal) $(use_enable perl) + $(use_enable php) $(use_enable sql)" + + # build tools + myconf="${myconf} $(use_enable java antproject)" + + # version control systems + myconf="${myconf} $(use_enable cvs) $(use_enable clearcase) + $(use_enable perforce) $(use_enable subversion)" + + # Explicitly set db include directory (bug 128897) + myconf="${myconf} --with-db-includedir=$(db_includedir) + --with-db-lib=$(db_libname)" + + kde_src_compile +} + +src_install() { + kde_src_install + + # Default to exuberant-ctags so that we don't end up trying to run emacs's + # ctags. + cat <<-EOF >> "${D}/usr/share/config/kdeveloprc" + + [CTAGS] + ctags binary=/usr/bin/exuberant-ctags + + EOF +} + +pkg_postinst() { + elog "kdevelop can use a wide range of apps for extra functionality. This is an" + elog "almost complete list. All these packages can be emerged after kdevelop." + elog + elog "=kde-base/konsole-3.5*: (RECOMMENDED) embed konsole kpart in kdevelop ide" + elog "OR =kde-base/kdebase-3.5*: (RECOMMENDED) embed konsole kpart in kdevelop ide" + elog "dev-util/kdbg: (RECOMMENDED) kde frontend to gdb" + elog "dev-util/valgrind: (RECOMMENDED) integrates valgrind (memory debugger) commands" + elog "=kde-base/kompare-3.5*: (RECOMMENDED) show differences between files" + elog "media-gfx/graphviz: (RECOMMENDED) support the new graphical classbrowser" + elog "dev-java/ant: support projects using the ant build tool" + elog "dev-util/ctags: faster and more powerful code browsing logic" + elog "app-doc/doxygen: generate KDE-style documentation for your project" + elog "www-misc/htdig: index and search your project's documentation" + elog "app-arch/rpm: support creating RPMs of your project" + elog "app-emulation/visualboyadvance: create and run projects for this gameboy" + elog + elog "Support for GNU-style make, tmake, qmake is included." + elog "Support for using clearcase, perforce and subversion" + elog "as version control systems is optional." +} |