commit:     cbb893565aafbebb6d30a5ef542b6b4b219dbdfd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 23:52:19 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May 21 23:52:19 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=cbb89356

kde-apps/dolphin: Drop USE thumbnail, add as elog to pkg_postinst

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/dolphin/dolphin-9999.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/kde-apps/dolphin/dolphin-9999.ebuild 
b/kde-apps/dolphin/dolphin-9999.ebuild
index 54109fa89b..5fd715625c 100644
--- a/kde-apps/dolphin/dolphin-9999.ebuild
+++ b/kde-apps/dolphin/dolphin-9999.ebuild
@@ -11,7 +11,7 @@ inherit kde5
 DESCRIPTION="Plasma filemanager focusing on usability"
 HOMEPAGE="https://kde.org/applications/system/dolphin 
https://userbase.kde.org/Dolphin";
 KEYWORDS=""
-IUSE="semantic-desktop +thumbnail"
+IUSE="semantic-desktop"
 
 DEPEND="
        $(add_frameworks_dep kbookmarks)
@@ -51,10 +51,6 @@ DEPEND="
 "
 RDEPEND="${DEPEND}
        $(add_kdeapps_dep kio-extras)
-       thumbnail? (
-               $(add_kdeapps_dep ffmpegthumbs)
-               $(add_kdeapps_dep thumbnailers)
-       )
 "
 
 RESTRICT+=" test"
@@ -79,6 +75,12 @@ pkg_postinst() {
                has_version "kde-apps/kleopatra:${SLOT}" || \
                        elog "For crypto actions install 
kde-apps/kleopatra:${SLOT}"
 
+               has_version "kde-apps/ffmpegthumbs:${SLOT}" || \
+                       elog "For video file thumbnails install 
kde-apps/ffmpegthumbs:${SLOT}"
+
+               has_version "kde-apps/thumbnailers:${SLOT}" || \
+                       elog "For graphics file thumbnails install 
kde-apps/thumbnailers:${SLOT}"
+
                has_version "kde-frameworks/purpose:${SLOT}" || \
                        elog "For 'Share' context menu actions install 
kde-frameworks/purpose:${SLOT}"
        fi

Reply via email to