commit:     172025d7a8cb0c98672e8520d3b0fb6fb4a9f96a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  7 01:04:06 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 20:07:56 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=172025d7

kde-misc/krusader: Add kde-apps/kio-extras RDEPEND, add elog msgs

Required for various protocols and file previews.
Add elog info about optional thumbnails support.

Gentoo-bug: 602046

Package-Manager: portage-2.3.0

 kde-misc/krusader/krusader-9999.ebuild | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/kde-misc/krusader/krusader-9999.ebuild 
b/kde-misc/krusader/krusader-9999.ebuild
index fa61a0b..3da808e 100644
--- a/kde-misc/krusader/krusader-9999.ebuild
+++ b/kde-misc/krusader/krusader-9999.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 KDE_HANDBOOK="forceoptional"
 inherit kde5
 
-DESCRIPTION="An advanced twin-panel (commander-style) file-manager with many 
extras"
+DESCRIPTION="Advanced twin-panel (commander-style) file-manager with many 
extras"
 HOMEPAGE="https://krusader.org/";
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
 
@@ -47,5 +47,21 @@ DEPEND="
        sys-libs/zlib
 "
 RDEPEND="${DEPEND}
+       $(add_kdeapps_dep kio-extras)
        !kde-misc/krusader:4
 "
+
+pkg_postinst() {
+       kde5_pkg_postinst
+
+       if ! has_version kde-apps/thumbnailers:${SLOT} ||
+                       ! has_version kde-apps/ffmpegthumbs:${SLOT} ; then
+               elog "For PDF/PS, RAW and video thumbnails support, install:"
+               elog "   kde-apps/thumbnailers:${SLOT}"
+               elog "   kde-apps/ffmpegthumbs:${SLOT}"
+       fi
+
+       if ! has_version kde-apps/keditbookmarks:${SLOT} ; then
+               elog "For bookmarks support, install 
kde-apps/keditbookmarks:${SLOT}"
+       fi
+}

Reply via email to