summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-07-13 22:46:45 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-07-13 22:50:01 +0200
commitea01d07c76b705e48d8d3a4600856746ce596e95 (patch)
tree11abb713ee2d1cf09ef62389e18dd03cbac691e0 /kde-apps/dolphin-plugins
parentdev-java/hawtjni-runtime: keyword ~arm64 (diff)
downloadgentoo-ea01d07c76b705e48d8d3a4600856746ce596e95.tar.gz
gentoo-ea01d07c76b705e48d8d3a4600856746ce596e95.tar.bz2
gentoo-ea01d07c76b705e48d8d3a4600856746ce596e95.zip
kde-apps: Add KDE Applications 17.04.3
Package-Manager: Portage-2.3.6, Repoman-2.3.1
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.04.3.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest
index d6858f5e584f..090754e8d61f 100644
--- a/kde-apps/dolphin-plugins/Manifest
+++ b/kde-apps/dolphin-plugins/Manifest
@@ -1,2 +1,3 @@
DIST dolphin-plugins-16.12.3.tar.xz 61112 SHA256 a90bc65485adf95e230b979effda5addbf7464555551f3c957f98ec17fa55fa1 SHA512 5d276762bf6ac3e121dd6606bf6edc4079c55dd91e54ff855b32869811ffdfe68815691a78cd0d3d4fed969c02732f5535b4226f5ada0f8b6537b816e7d5569f WHIRLPOOL 7788e51134e9f73aa23f4d32e38373a410792b640b9ce78b2e0cc050f45519747cf29669ad2862774036f1bd78121bc00e60b2104c6fbae8b25df1f2388870c1
DIST dolphin-plugins-17.04.2.tar.xz 186384 SHA256 baac9fa8bbc656e1419b4e33915e676bdc234be8a7fd6f33848adf7a85490fc1 SHA512 823d406f9a67a00cffae99196936cb5dc71dd2c978479d536e71e6f284256f4d5f25954ba6f152a306edd920b939c007e129ee4eb3e0e0adba1336773ef3f621 WHIRLPOOL 6f888a0ac5b4d575830633983504c5611afc1ba6e43852f07ffc6cbc8594695aeeb30dd743707c3e5c3556f951da9df9ebb8326d154c72d9cd0a664d9c385caf
+DIST dolphin-plugins-17.04.3.tar.xz 186316 SHA256 43e62998eca0c5a55ff6c9a05d3df152b344130e794e23abb61d7f2a940c41c7 SHA512 adb0d995b2ae497ce8daf044067043de1730c6f7bbb617532ca8c2777c037069f3eda4189f2949d5739d270c802ff279bfb418737bfc5498dda1db5b6f85fc8f WHIRLPOOL ece0de5a9bd78e9e84b86d3a6dd8db2687da61ebab85e37eeb2902bda66fae232fe094afab861063d946c83445447f90b0cb8352ca6e222468824db345898eb7
diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-17.04.3.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-17.04.3.ebuild
new file mode 100644
index 000000000000..a370260ca5a1
--- /dev/null
+++ b/kde-apps/dolphin-plugins/dolphin-plugins-17.04.3.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
+}