You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-apps/dolphin-plugins/dolphin-plugins-4.14.3.ebuild

36 lines
848 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde4-base
DESCRIPTION="Extra Dolphin plugins"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="debug bazaar git mercurial subversion"
DEPEND="
$(add_kdeapps_dep libkonq)
"
RDEPEND="${DEPEND}
$(add_kdeapps_dep kompare)
bazaar? ( dev-vcs/bzr )
git? ( dev-vcs/git )
mercurial? ( dev-vcs/mercurial )
subversion? ( dev-vcs/subversion )
"
src_install() {
{ use bazaar || use git || use mercurial || use subversion; } && kde4-base_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
}