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-base/dolphin-plugins/dolphin-plugins-4.9.5.ebuild

40 lines
1013 B

# Copyright 1999-2013 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.5.ebuild,v 1.3 2013/01/27 15:01:00 ago Exp $
EAPI=4
KMNAME="kdesdk"
KDE_SCM="svn"
inherit kde4-meta
DESCRIPTION="Extra Dolphin plugins"
KEYWORDS="amd64 ~arm ~ppc 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
}