summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-12 16:10:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-12 16:18:26 +0200
commita6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4 (patch)
tree4d3ec8ddaa83500e5b7b78a9fdbb5d4fd20540d5 /kde-apps/dolphin-plugins
parentkde-frameworks/kdelibs: 4.14.37 version bump (diff)
downloadgentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.tar.gz
gentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.tar.bz2
gentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.zip
kde-apps: Add KDE Applications 17.08.2
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'kde-apps/dolphin-plugins')
-rw-r--r--kde-apps/dolphin-plugins/Manifest1
-rw-r--r--kde-apps/dolphin-plugins/dolphin-plugins-17.08.2.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest
index 23f74488e32c..534d580cf373 100644
--- a/kde-apps/dolphin-plugins/Manifest
+++ b/kde-apps/dolphin-plugins/Manifest
@@ -1,2 +1,3 @@
DIST dolphin-plugins-17.04.3.tar.xz 186316 SHA256 43e62998eca0c5a55ff6c9a05d3df152b344130e794e23abb61d7f2a940c41c7 SHA512 adb0d995b2ae497ce8daf044067043de1730c6f7bbb617532ca8c2777c037069f3eda4189f2949d5739d270c802ff279bfb418737bfc5498dda1db5b6f85fc8f WHIRLPOOL ece0de5a9bd78e9e84b86d3a6dd8db2687da61ebab85e37eeb2902bda66fae232fe094afab861063d946c83445447f90b0cb8352ca6e222468824db345898eb7
DIST dolphin-plugins-17.08.1.tar.xz 186872 SHA256 097b1a3f4d62158183d14e29b4c47fe245dfec2f494ed9d361cbe12da6473a6f SHA512 f3269bb91fd3e069caa4b41a578afc9d9305076f6cc07de1901d1a635a4d9eed1d06d9800c9eaf0b713bbf22bc554c3ad59f2e3b2486cb781f2a4fe7e5f12f64 WHIRLPOOL 183499bb4c90499e9da4a3c5b7bce821f56479d46e302cf033efed3ad90441887ce3b375f6965da06e173e4641810cde12f9c4d14587ade9582aaea9e97f5476
+DIST dolphin-plugins-17.08.2.tar.xz 187116 SHA256 3415a2e0a4dc78eb67af293555edf05de56e317f11650cd1f45941851c3eb78a SHA512 34cb1f4c01b3804ec87a038c34923e3f66a43f690b56080c8cdf2babf8ebba6529a14d218b1a21361dc75f40d450e90bee0c9b584824e34e1c7ac0a4b2351613 WHIRLPOOL bb01a718cda05e9d8ab39d3159bd5b7ec70a607963f55bfd97de82b954739a743f93715a6a80efd339897a8a9a7b57edb230152f64d696c7c2435ceb73819bc1
diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-17.08.2.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-17.08.2.ebuild
new file mode 100644
index 000000000000..a370260ca5a1
--- /dev/null
+++ b/kde-apps/dolphin-plugins/dolphin-plugins-17.08.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="false"
+inherit kde5
+
+DESCRIPTION="Extra Dolphin plugins"
+KEYWORDS="~amd64 ~x86"
+IUSE="bazaar dropbox git mercurial subversion"
+
+# FIXME: required in root CMakeLists.txt, but:
+# kdelibs4support only required by git?
+# kxmlgui, qtnetwork only required by dropbox?
+COMMON_DEPEND="
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kxmlgui)
+ $(add_kdeapps_dep dolphin)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtwidgets)
+ git? (
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep ktextwidgets)
+ )
+ mercurial? (
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_kdeapps_dep kompare)
+ bazaar? ( dev-vcs/bzr )
+ dropbox? ( net-misc/dropbox-cli )
+ git? ( dev-vcs/git )
+ subversion? ( dev-vcs/subversion )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_bazaar=$(usex bazaar)
+ -DBUILD_dropbox=$(usex dropbox)
+ -DBUILD_git=$(usex git)
+ -DBUILD_hg=$(usex mercurial)
+ -DBUILD_svn=$(usex subversion)
+ )
+
+ kde5_src_configure
+}
+
+src_install() {
+ { use bazaar || use dropbox || use git || use subversion || use mercurial; } && kde5_src_install
+}
+
+pkg_postinst() {
+ if ! use bazaar && ! use dropbox && ! use git && ! use subversion && ! use mercurial; 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
+}