summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-07 03:20:26 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-13 03:43:12 +1100
commit8a8eb9d5bac30ca62067a4f86aea84f641e04270 (patch)
treebe545cf5d1f9c94e482e840fe8922ced96af7aee /kde-apps/dolphin-plugins
parentkde-apps: Move kdecore-meta-15.12.2 and deps from kde overlay (diff)
downloadgentoo-8a8eb9d5bac30ca62067a4f86aea84f641e04270.tar.gz
gentoo-8a8eb9d5bac30ca62067a4f86aea84f641e04270.tar.bz2
gentoo-8a8eb9d5bac30ca62067a4f86aea84f641e04270.zip
kde-apps: Move kdesdk-meta-15.12.2 and deps from kde overlay
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/dolphin-plugins')
-rw-r--r--kde-apps/dolphin-plugins/Manifest1
-rw-r--r--kde-apps/dolphin-plugins/dolphin-plugins-15.12.2.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest
index 450f9e10206e..2cc112242dc4 100644
--- a/kde-apps/dolphin-plugins/Manifest
+++ b/kde-apps/dolphin-plugins/Manifest
@@ -1,2 +1,3 @@
DIST dolphin-plugins-15.08.3.tar.xz 58816 SHA256 fe346cd5f292f7c9dae28b0f7c1d28c7cfc6551e16043e2701e889735120f8c9 SHA512 2e3406798a0f5022f9ea00d08e96c32656291f3fb0861996cfb4092089627430cd6a6df265e6f8971dfd32977f437fcec7044d9112feaee9eeda20e47f80a786 WHIRLPOOL e3607ca32a1842a753196e494fb548f59970d7ffe79658d2edb86241d95e8e3772f531c5e3f131fff4bf15564c9c656a559501a41aeed401c9c858ddde663331
+DIST dolphin-plugins-15.12.2.tar.xz 60508 SHA256 9ee8aba472aff1b8e376ee29e74d21bf79d38ca577f5987f670ab4490ac50098 SHA512 d46213af331e41346123d4051caf7563b9e659f559c2c94daa6e605f32c2601454a5961fef2a95cc4b0d372a72419bddfb4694f00eb73a02fc0a3e7d093a8de6 WHIRLPOOL 224a8a76b5759a2cdc5bcbe84d3efd236151a28a4d9ce7a632ac7e99b2dffc47ab29d2f0fb84dfc0f240e8245093785755b502eb5827bd70ff9c1b978709a42a
DIST dolphin-plugins-4.14.3.tar.xz 58052 SHA256 b7f00e5ec037f8e8172de0fce0994958431157f0d89da21def9cdece7bc265ed SHA512 ffa624ef70de11575e56529a635044fa7f489198b5f12654c448aa370f8369296d251043f8d68453ad85e144c786df2ffae307be8e5265b63adfb4339887da24 WHIRLPOOL 09a717a565794e09d8124308e3ceebdd0f1df74a47f9ad6f4ad2558a99857b9f24e3ff4f44c62986e1482e3ea22fb063831765eb906e2964cf444ff6e040fdc5
diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-15.12.2.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-15.12.2.ebuild
new file mode 100644
index 000000000000..f42fffa1964e
--- /dev/null
+++ b/kde-apps/dolphin-plugins/dolphin-plugins-15.12.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}