diff options
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-16.04.3.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest index 7ccafcd4e01c..fcf6c14e7126 100644 --- a/kde-apps/dolphin-plugins/Manifest +++ b/kde-apps/dolphin-plugins/Manifest @@ -1,2 +1,3 @@ DIST dolphin-plugins-15.12.3.tar.xz 60504 SHA256 ffe7275946ec0dc4fd45dddeca3116c70ffba09343f4d7b2acc185d6cd0c2c9d SHA512 f37407d1f3ad3cb78dec464de6d358080e3a8382b96f00065d60111e9a4c5b659c8cc4a5ec851a22731e5e79f7d4443300d7d82cff01859db732ecaa46157d21 WHIRLPOOL 4da81d36255071280ea3da3915cdcb89d13ab4bbceb9f2a54878d84c4ec57073db66c7d9ccf2727cf080102546f36cc40545be3deef471b567246c8ba7ed048c DIST dolphin-plugins-16.04.2.tar.xz 60748 SHA256 2c2ddb9d13a9392cfd554ed080e98c61d34c5296fc9a70749926fbe51dc40a1d SHA512 03c378a66c66142606be6e486654557f6af7e5eb9f4bb11839ab5f8ce062e54ec573bb92875f56d81bdb6fb9fe4cd5c75dbf19697ba9e16fddeb95e36dc0726b WHIRLPOOL 1c9b11990c36926d5f0d2613db5e04df5ed716d2e16fe71c94e348f43412aacf68830c54760b5345caa814e3de83e172e7ebe013743a4367da9f9aa7da7403e0 +DIST dolphin-plugins-16.04.3.tar.xz 60756 SHA256 ef63b312eb6fe98617767c876256e0201d809e9b07078a9b3676c71dd30a98e3 SHA512 839c4de18982b5ab433d7562eed399dbd904a717e8592af532979ad5a26a306a52f39987c7907ac6dd2688058c7b03e1a2134ed0b79471400080d54809bd6f4d WHIRLPOOL e99d5d966eac0d698a61dabdd5cbce06401b10a0a53552a19b2420172144f1ddb7cd81ef12da2a8c9a55c03c302c76a2de67670eef2888b58e818f5e9cc0ae70 diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-16.04.3.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-16.04.3.ebuild new file mode 100644 index 000000000000..23111dad3aaa --- /dev/null +++ b/kde-apps/dolphin-plugins/dolphin-plugins-16.04.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 +} |