diff options
author | Johannes Huber <johu@gentoo.org> | 2017-04-20 18:15:02 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-04-20 18:22:40 +0200 |
commit | 8f00b2bf566d896205f52099530159c97b977f68 (patch) | |
tree | 6dfeae9f7a9dc7b276cb384a7f4ad8d589de52d1 /kde-apps/dolphin-plugins | |
parent | kde5*eclass: KDE Applications 17.04.0 improvements (diff) | |
download | gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.gz gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.bz2 gentoo-8f00b2bf566d896205f52099530159c97b977f68.zip |
kde-apps: Version bump KDE Applications 17.04.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/dolphin-plugins')
-rw-r--r-- | kde-apps/dolphin-plugins/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/dolphin-plugins/dolphin-plugins-17.04.0.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest index 6a8f7b52a31f..8cd9837ff040 100644 --- a/kde-apps/dolphin-plugins/Manifest +++ b/kde-apps/dolphin-plugins/Manifest @@ -1 +1,2 @@ DIST dolphin-plugins-16.12.3.tar.xz 61112 SHA256 a90bc65485adf95e230b979effda5addbf7464555551f3c957f98ec17fa55fa1 SHA512 5d276762bf6ac3e121dd6606bf6edc4079c55dd91e54ff855b32869811ffdfe68815691a78cd0d3d4fed969c02732f5535b4226f5ada0f8b6537b816e7d5569f WHIRLPOOL 7788e51134e9f73aa23f4d32e38373a410792b640b9ce78b2e0cc050f45519747cf29669ad2862774036f1bd78121bc00e60b2104c6fbae8b25df1f2388870c1 +DIST dolphin-plugins-17.04.0.tar.xz 186500 SHA256 58c4e67fa69799df8d28bc253402073be68b3349c3e755a221d6edb668b84056 SHA512 4e2c80f11d5c7674e7ab366858e13833da6ca347e866983ed306a3165d48fd8f51941e095e3af97b30f8e26636fbd89bb8a925d3d54d93f468b966a4c46f7a9f WHIRLPOOL caaa55d9d4b15f737aa6db8a1ea52b2278975124145f4a421d022d25af92a85c29bedfe5d6e8ad44d7bfb6a0a8e0c4fd341d21595f16339f6fa3c96dfe1b0ccc diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-17.04.0.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-17.04.0.ebuild new file mode 100644 index 000000000000..a370260ca5a1 --- /dev/null +++ b/kde-apps/dolphin-plugins/dolphin-plugins-17.04.0.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 +} |