commit:     78de52711edbc85a4e7ca347f7a328b9fb069a40
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 15:46:35 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 15:46:39 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=78de5271

kde5.eclass: don't make kde-plasma/polkit-kde-agent block kde-apps/kde4-l10n.

As sys-auth/polkit-kde-agent was never part of KDE SC 4, it's translations
were never installed by kde-l10n, so there's no need to have a blocker.

In addition to not being required, the blocker was encountered by all
KDE 4 users who had kde-apps/kde4-l10n installed and tried to install a
package that requires kde-frameworks/kauth (which pulls in 
kde-plasma/polkit-kde-agent).

Resolving the blocker manually by enabling the minimal USE flag on 
kde-apps/kde4-l10n
caused Plasma 4 translations to be removed.

 eclass/kde5.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index cb310d7..28aba19 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -147,7 +147,7 @@ case ${KDE_AUTODEPS} in
                RDEPEND+=" >=kde-frameworks/kf-env-3"
                COMMONDEPEND+=" >=dev-qt/qtcore-${QT_MINIMAL}:5"
 
-               if [[ ${CATEGORY} = kde-plasma ]]; then
+               if [[ ${CATEGORY} = kde-plasma && ${PN} != polkit-kde-agent ]]; 
then
                        RDEPEND+="
                                !kde-apps/kde4-l10n[-minimal(-)]
                        "

Reply via email to