summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-11 17:17:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-11 18:14:22 +0100
commit85faab2e366afa6293f3c9781866f04631fc6213 (patch)
tree38279f6f2d8718267d122dfac04798f46f87232c /kde-apps/dolphin-plugins
parentprofiles/package.mask: remove obsolete media-radio/wspr entry (diff)
downloadgentoo-85faab2e366afa6293f3c9781866f04631fc6213.tar.gz
gentoo-85faab2e366afa6293f3c9781866f04631fc6213.tar.bz2
gentoo-85faab2e366afa6293f3c9781866f04631fc6213.zip
kde-apps: Add KDE Applications 17.12.1
Package-Manager: Portage-2.3.13, Repoman-2.3.4
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.12.1.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest
index 0ee7f65ab020..418855047cac 100644
--- a/kde-apps/dolphin-plugins/Manifest
+++ b/kde-apps/dolphin-plugins/Manifest
@@ -1,2 +1,3 @@
DIST dolphin-plugins-17.08.3.tar.xz 187084 BLAKE2B abe392d68e622c8cc02aaae31d71ffa28bc19544e7b9306ae3cfcc73a18ae9d4b453626274158d94d52140bff16e39c987a68423d4e24dfcac38efcab65cefef SHA512 49bd9b9059a129e9276d2cc216679abbdec595a98aa3ee950164fafcef30a2206b18e3b7487a6665aa3da6c643d92017309fedcfad0caacdadd7433126690970
DIST dolphin-plugins-17.12.0.tar.xz 187108 BLAKE2B 828bc8e728b28b8ba20f664055e090809b0901dc3444f6d1a1c4bdf79d65b8059cf73b379acd23a5d6eec85ebb59f278b2f7d797962777cf0b12803cbb9f76bc SHA512 551406733c97d0a4a0bb4d0567ce0351c64c33db501afad2c7ab49436d67e512c5d3ad34e7f5544765c09aba853ae31a48c1eeac81722f83485d91b41c22a586
+DIST dolphin-plugins-17.12.1.tar.xz 187316 BLAKE2B 36c1f8e264daa021f27aea9675784443d7d223f779822d05e077e93c232ba828527042507ee081758c958a9cf9aaad6d0f5a1551a30941b9ac9820fbfd6127bc SHA512 e0e63cac17211ab8390e62274ba69e5706dd0ff3df5a3c91adbfb4cc276cd79f73e6209b7c1fc8c1d4ffd804a974547d58f79bd1a4cf7363783a9eb1a510a8cf
diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-17.12.1.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-17.12.1.ebuild
new file mode 100644
index 000000000000..125d149d68cf
--- /dev/null
+++ b/kde-apps/dolphin-plugins/dolphin-plugins-17.12.1.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
+}