diff options
Diffstat (limited to 'kde-base/dolphin-plugins/dolphin-plugins-4.9.0.ebuild')
-rw-r--r-- | kde-base/dolphin-plugins/dolphin-plugins-4.9.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/kde-base/dolphin-plugins/dolphin-plugins-4.9.0.ebuild b/kde-base/dolphin-plugins/dolphin-plugins-4.9.0.ebuild new file mode 100644 index 000000000000..c61733d2eb8d --- /dev/null +++ b/kde-base/dolphin-plugins/dolphin-plugins-4.9.0.ebuild @@ -0,0 +1,38 @@ +# 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.9.0.ebuild,v 1.1 2012/08/01 22: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" + +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 +} |