diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-12 20:36:02 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-12 20:36:02 +0200 |
commit | 4186eabcad11c1cf1a6fdc6a555b72404eee0137 (patch) | |
tree | 7a07ac977ec9f17772623b3ec02801d5dad964f9 /kde-apps/dolphin-plugins | |
parent | app-crypt/certbot: fixing acme dep (diff) | |
download | gentoo-4186eabcad11c1cf1a6fdc6a555b72404eee0137.tar.gz gentoo-4186eabcad11c1cf1a6fdc6a555b72404eee0137.tar.bz2 gentoo-4186eabcad11c1cf1a6fdc6a555b72404eee0137.zip |
kde-apps: Add KDE Applications 18.04.3
Package-Manager: Portage-2.3.42, Repoman-2.3.9
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-18.04.3.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest index c3c537f1c04a..a0368d32d6e5 100644 --- a/kde-apps/dolphin-plugins/Manifest +++ b/kde-apps/dolphin-plugins/Manifest @@ -1,2 +1,3 @@ DIST dolphin-plugins-17.12.3.tar.xz 187288 BLAKE2B 205db4fddf395f5e1c7ac9db123984f712867d2523b916ba0017525872a56460c2540dacc6b4e49cb3e876d3d504f619ef603372e98622d1634804cf5bee4efd SHA512 fe0e2aabea0870e8f3127178a10c70264fd339391f88aa9e2a1a5238cb25a0ef47ab2c66f60d2da0788a41399cdfd4099542c81d47e8db1ea09cf2f5941fdeaa DIST dolphin-plugins-18.04.2.tar.xz 189956 BLAKE2B c84d4f45c67b9d394cab0e05ca06755d49f2b734d711cf725bcebebdbede9f192e47eed475903dbd3f820ebd739db8c7a570bf6ae7a7e56736b61cae14a2117a SHA512 4218793e03fd6adc55c489e9b2a9336c2982fdccc2cd1cf1ff95ea7efe6aa32399bad7d0093c70e2d788410ab566152f8511c7f0d0c4a5597eeab7b3f461de89 +DIST dolphin-plugins-18.04.3.tar.xz 191408 BLAKE2B e27bd189d02f922e55fb216bfb80032bf611ec109a3c3f9e3b2cd2466f831e59d548c2d2861a784972e7dcc676e1e7baf28f9a44e8ce7cf1569846da4d6cb86a SHA512 641562f44750bad8ca431be470cf691ea72647ac2b6c5bef7ff83d1d538bc13b7f8d082589c0d2c8c208c14a6007e412f4be8a8e733ebde7132dca6d5724798e diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-18.04.3.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-18.04.3.ebuild new file mode 100644 index 000000000000..125d149d68cf --- /dev/null +++ b/kde-apps/dolphin-plugins/dolphin-plugins-18.04.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 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 +} |