commit:     5326546d73684ffa3453977d7dfe34952ea9a473
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Nov 15 02:10:20 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 15:12:29 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5326546d

kde-apps/libkonq: Fix USE=minimal, depend on KF >=5.16

Upstream does not install that file when built w/ KF 5.16
so hack can go away eventually.

Package-Manager: portage-2.2.20.1

 kde-apps/libkonq/libkonq-5.9999.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/kde-apps/libkonq/libkonq-5.9999.ebuild 
b/kde-apps/libkonq/libkonq-5.9999.ebuild
index b129c17..0ce83b9 100644
--- a/kde-apps/libkonq/libkonq-5.9999.ebuild
+++ b/kde-apps/libkonq/libkonq-5.9999.ebuild
@@ -5,6 +5,7 @@
 EAPI=5
 
 EGIT_BRANCH="frameworks"
+FRAMEWORKS_MINIMAL="5.16.0"
 KDE_DOXYGEN="true"
 KDE_TEST="true"
 KMNAME="kde-baseapps"
@@ -13,7 +14,7 @@ inherit kde5
 
 DESCRIPTION="The embeddable part of konqueror"
 KEYWORDS=""
-IUSE="minimal"
+IUSE="+minimal"
 
 DEPEND="
        $(add_frameworks_dep kbookmarks)
@@ -44,6 +45,8 @@ src_install() {
        kde5_src_install
 
        if use minimal; then
-               rm "${D}"/usr/share/kservicetypes5/konqpopupmenuplugin.desktop 
|| die
+               if [[ -e 
"${ED}"usr/share/kservicetypes5/konqpopupmenuplugin.desktop ]] ; then
+                       rm 
"${ED}"usr/share/kservicetypes5/konqpopupmenuplugin.desktop || die
+               fi
        fi
 }

Reply via email to