diff options
Diffstat (limited to 'kde-base/dolphin-plugins')
-rw-r--r-- | kde-base/dolphin-plugins/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/dolphin-plugins/dolphin-plugins-4.8.0.ebuild | 52 | ||||
-rw-r--r-- | kde-base/dolphin-plugins/metadata.xml | 2 |
3 files changed, 60 insertions, 1 deletions
diff --git a/kde-base/dolphin-plugins/ChangeLog b/kde-base/dolphin-plugins/ChangeLog index ba68512eba75..c86dc83686fa 100644 --- a/kde-base/dolphin-plugins/ChangeLog +++ b/kde-base/dolphin-plugins/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/dolphin-plugins # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/dolphin-plugins/ChangeLog,v 1.39 2012/01/17 13:28:50 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/dolphin-plugins/ChangeLog,v 1.40 2012/01/25 18:17:03 johu Exp $ + +*dolphin-plugins-4.8.0 (25 Jan 2012) + + 25 Jan 2012; Johannes Huber <johu@gentoo.org> +dolphin-plugins-4.8.0.ebuild: + Version bump KDE SC 4.8.0 17 Jan 2012; Johannes Huber <johu@gentoo.org> -dolphin-plugins-4.7.3.ebuild: Remove KDE SC 4.7.3 diff --git a/kde-base/dolphin-plugins/dolphin-plugins-4.8.0.ebuild b/kde-base/dolphin-plugins/dolphin-plugins-4.8.0.ebuild new file mode 100644 index 000000000000..71028b565749 --- /dev/null +++ b/kde-base/dolphin-plugins/dolphin-plugins-4.8.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/dolphin-plugins/dolphin-plugins-4.8.0.ebuild,v 1.1 2012/01/25 18:17:03 johu Exp $ + +EAPI=4 + +KMNAME="kdesdk" +inherit kde4-meta + +DESCRIPTION="Extra Dolphin plugins" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug bazaar git mercurial subversion" + +DEPEND=" + $(add_kdebase_dep libkonq) +" +RDEPEND="${DEPEND} + $(add_kdebase_dep kompare) + bazaar? ( dev-vcs/bzr ) + git? ( dev-vcs/git ) + mercurial? ( dev-vcs/mercurial ) + subversion? ( dev-vcs/subversion ) +" + +KMLOADLIBS="libkonq" + +# +# See bug 351147 for why this is necessary +# +src_prepare() { + echo 'macro_optional_add_subdirectory ( dolphin-plugins )' >> CMakeLists.txt || die + echo > dolphin-plugins/CMakeLists.txt || die + use bazaar && echo 'add_subdirectory ( bazaar )' >> dolphin-plugins/CMakeLists.txt + use git && echo 'add_subdirectory ( git )' >> dolphin-plugins/CMakeLists.txt + use mercurial && echo 'add_subdirectory ( hg )' >> dolphin-plugins/CMakeLists.txt + use subversion && echo 'add_subdirectory ( svn )' >> dolphin-plugins/CMakeLists.txt + + kde4-meta_src_prepare +} + +src_install() { + { use bazaar || use git || use mercurial || use subversion; } && kde4-meta_src_install +} + +pkg_postinst() { + if ! use bazaar && ! use git && ! use mercurial && ! use subversion ; then + einfo + einfo "You have disabled all plugin use flags. If you want to have vcs" + einfo "integration in dolphin, enable those of your needs." + einfo + fi +} diff --git a/kde-base/dolphin-plugins/metadata.xml b/kde-base/dolphin-plugins/metadata.xml index ae1e2aa06868..d043f22380dd 100644 --- a/kde-base/dolphin-plugins/metadata.xml +++ b/kde-base/dolphin-plugins/metadata.xml @@ -3,6 +3,8 @@ <pkgmetadata> <herd>kde</herd> <use> +<flag name="bazaar">Enable support for the bazaar VCS</flag> <flag name="git">Enable support for the git VCS</flag> +<flag name="mercurial">Enable support for the mercurial VCS</flag> </use> </pkgmetadata> |