summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-07 20:29:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-07 20:29:32 +0200
commit996987a2817587de8e6dd587fdfdf8897d383ae4 (patch)
treed607e47be660333a574a1618e0f090dd0f0ea60a /kde-apps/dolphin-plugins
parentmedia-radio/flrig: Version bump (diff)
downloadgentoo-996987a2817587de8e6dd587fdfdf8897d383ae4.tar.gz
gentoo-996987a2817587de8e6dd587fdfdf8897d383ae4.tar.bz2
gentoo-996987a2817587de8e6dd587fdfdf8897d383ae4.zip
kde-apps: Add KDE Applications 17.08.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
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.08.1.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/dolphin-plugins/Manifest b/kde-apps/dolphin-plugins/Manifest
index 13135873fdf8..80242d30111b 100644
--- a/kde-apps/dolphin-plugins/Manifest
+++ b/kde-apps/dolphin-plugins/Manifest
@@ -1,2 +1,3 @@
DIST dolphin-plugins-17.04.3.tar.xz 186316 SHA256 43e62998eca0c5a55ff6c9a05d3df152b344130e794e23abb61d7f2a940c41c7 SHA512 adb0d995b2ae497ce8daf044067043de1730c6f7bbb617532ca8c2777c037069f3eda4189f2949d5739d270c802ff279bfb418737bfc5498dda1db5b6f85fc8f WHIRLPOOL ece0de5a9bd78e9e84b86d3a6dd8db2687da61ebab85e37eeb2902bda66fae232fe094afab861063d946c83445447f90b0cb8352ca6e222468824db345898eb7
DIST dolphin-plugins-17.08.0.tar.xz 186796 SHA256 8c3d018e54c3cb3f2b2fb17598a8ba616206d3b1eee5d3090c2d9440247560ed SHA512 9ee1cfdc0afae917cbc6602c3f2cfbe28ff8845bffbb90386c878575bdbf482cb2cb89517cb17f4876a625a170cc4778b32a5698d3da98803e4d53f55e0654ed WHIRLPOOL 7e1757dc13f8bf8e4613b80e7443d48695b99f647b94ada814495e63137e884cb3baccd0fb0f778e515e20ece9bd327f8a23b00fee615abf8f029a1a7647692a
+DIST dolphin-plugins-17.08.1.tar.xz 186872 SHA256 097b1a3f4d62158183d14e29b4c47fe245dfec2f494ed9d361cbe12da6473a6f SHA512 f3269bb91fd3e069caa4b41a578afc9d9305076f6cc07de1901d1a635a4d9eed1d06d9800c9eaf0b713bbf22bc554c3ad59f2e3b2486cb781f2a4fe7e5f12f64 WHIRLPOOL 183499bb4c90499e9da4a3c5b7bce821f56479d46e302cf033efed3ad90441887ce3b375f6965da06e173e4641810cde12f9c4d14587ade9582aaea9e97f5476
diff --git a/kde-apps/dolphin-plugins/dolphin-plugins-17.08.1.ebuild b/kde-apps/dolphin-plugins/dolphin-plugins-17.08.1.ebuild
new file mode 100644
index 000000000000..a370260ca5a1
--- /dev/null
+++ b/kde-apps/dolphin-plugins/dolphin-plugins-17.08.1.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
+}