diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 15:33:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 15:33:37 +0200 |
commit | 1d72a0a1cd87d7401ef850a98513c7e080d7d2e1 (patch) | |
tree | cb93e377edcbd097f32d02b97f3a1a9a5d851b10 /kde-apps/dolphin-plugins | |
parent | sys-kernel/gentoo-sources: Linux patch 4.16.3 (diff) | |
download | gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.gz gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.bz2 gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.zip |
kde-apps: Add KDE Applications 18.04.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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.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 ebd036b78126..f69cd0ecd801 100644 --- a/kde-apps/dolphin-plugins/Manifest +++ b/kde-apps/dolphin-plugins/Manifest @@ -1 +1,2 @@ DIST dolphin-plugins-17.12.3.tar.xz 187288 BLAKE2B 205db4fddf395f5e1c7ac9db123984f712867d2523b916ba0017525872a56460c2540dacc6b4e49cb3e876d3d504f619ef603372e98622d1634804cf5bee4efd SHA512 fe0e2aabea0870e8f3127178a10c70264fd339391f88aa9e2a1a5238cb25a0ef47ab2c66f60d2da0788a41399cdfd4099542c81d47e8db1ea09cf2f5941fdeaa +DIST dolphin-plugins-18.04.0.tar.xz 190108 BLAKE2B ed2df9a3e07cda89d9d7a6b7cbc2bad0af307005af98805bcd036c80b6024c2e643f5e67534dcbbbf83293ad4bd5a5b3b11a61b527a6685cd00bb79ce95807bb SHA512 26d44264cbf0e86baeb8007c106e23a3282dc3a76186bdf9486e662ad2ef7d5b19dbda567858113e82281444ead3a8b5a1b073270630341de5d840aafc7103d6 diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-18.04.0.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-18.04.0.ebuild new file mode 100644 index 000000000000..125d149d68cf --- /dev/null +++ b/kde-apps/dolphin-plugins/dolphin-plugins-18.04.0.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 +} |