forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dolphin-plugins-15.08.3.ebuild
47 lines (41 loc) · 1.1 KB
/
dolphin-plugins-15.08.3.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_HANDBOOK="false"
inherit kde5
DESCRIPTION="Extra Dolphin plugins"
KEYWORDS=" ~amd64 ~x86"
IUSE="bazaar dropbox git subversion"
DEPEND="
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep ktextwidgets)
$(add_frameworks_dep kxmlgui)
$(add_kdeapps_dep dolphin)
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}
$(add_kdeapps_dep kompare)
bazaar? ( dev-vcs/bzr )
dropbox? ( net-misc/dropbox-cli )
git? ( dev-vcs/git )
subversion? ( dev-vcs/subversion )
"
src_install() {
{ use bazaar || use dropbox || use git || use subversion; } && kde5_src_install
}
pkg_postinst() {
if ! use bazaar && ! use dropbox && ! use git && ! 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
}