summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-11-15 20:38:29 +0100
committerJohannes Huber <johu@gentoo.org>2016-11-15 20:47:49 +0100
commite805750640ffcd5150e817e77162f388021b8c0f (patch)
tree8c53c84f54ac00f079d48833e5fbc02a3937b525 /kde-apps/dolphin-plugins
parentsys-devel/gcc: mark 4.9.4 arm64/ia64/m68k/ppc/s390/sh/sparc stable #595560 (diff)
downloadgentoo-e805750640ffcd5150e817e77162f388021b8c0f.tar.gz
gentoo-e805750640ffcd5150e817e77162f388021b8c0f.tar.bz2
gentoo-e805750640ffcd5150e817e77162f388021b8c0f.zip
kde-apps: Version bump KDE Applications 16.08.3
Package-Manager: portage-2.3.2
Diffstat (limited to 'kde-apps/dolphin-plugins')
-rw-r--r--kde-apps/dolphin-plugins/Manifest1
-rw-r--r--kde-apps/dolphin-plugins/dolphin-plugins-16.08.3.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest
index 289294a68fbc..a7e2191f28a6 100644
--- a/kde-apps/dolphin-plugins/Manifest
+++ b/kde-apps/dolphin-plugins/Manifest
@@ -1,2 +1,3 @@
DIST dolphin-plugins-16.04.3.tar.xz 60756 SHA256 ef63b312eb6fe98617767c876256e0201d809e9b07078a9b3676c71dd30a98e3 SHA512 839c4de18982b5ab433d7562eed399dbd904a717e8592af532979ad5a26a306a52f39987c7907ac6dd2688058c7b03e1a2134ed0b79471400080d54809bd6f4d WHIRLPOOL e99d5d966eac0d698a61dabdd5cbce06401b10a0a53552a19b2420172144f1ddb7cd81ef12da2a8c9a55c03c302c76a2de67670eef2888b58e818f5e9cc0ae70
DIST dolphin-plugins-16.08.2.tar.xz 60952 SHA256 6dd8e224e33f158974744cf98d6666806657ad75e9690849fc02e873e873ec32 SHA512 db3ebf9bd4b89b5b0eafde0f6c4f1aa9ca595f4e6e0919450d6caa494245aad4405c06966eef2f6b2ad7a58baf99542931aefd4ca636a5c2ed04cbedbd478f48 WHIRLPOOL 3343f007f489d2bb4f624b80fe2e2b24f9ab014762a3be575b97011eee75749b2645290d24d891c7eb0224d89dd005875b1dec06a81a3378e7f86a0f1ddade6f
+DIST dolphin-plugins-16.08.3.tar.xz 60952 SHA256 9be0b1fe55fb5660a3120707616281645b7ef170d67212e34bfda2fb7ec12d17 SHA512 923007aa42559cce1f6b911b3f2d088ad0da5c2bb8fb343ed0605d4cd9dc4b9f298f5d0424eaafef07c6365c701e99407660b862ce4d0950fb31e895ad8616c0 WHIRLPOOL 894b86024724a59f8cbff868181a7fe721cbc2131b8c0bfe4d269a7d65072a570cfa205a2994ee3d7c33a09ff3fb85b5219ec4ddc1acd5a470214abc7a4b7304
diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-16.08.3.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-16.08.3.ebuild
new file mode 100644
index 000000000000..23111dad3aaa
--- /dev/null
+++ b/kde-apps/dolphin-plugins/dolphin-plugins-16.08.3.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
+}