commit:     3a578c3c28734bb1c1c621b242f650bb9e9aed15
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Sep  6 21:49:33 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 17:48:19 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3a578c3c

kde5.eclass: Block old kde4-l10n for kde-{frameworks,plasma}

Versions older than <kde-apps/kde4-l10n-15.08.0-r1 haven't been updated to keep
up with file collisions in current releases of kde-frameworks and kde-plasma.
Make sure everyone gets what they need. Fixes e.g. kde-plasma/kinfocenter-5.4.0
as reported in IRC but also https://bugs.gentoo.org/show_bug.cgi?id=559740

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

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 71bac64..9b7b004 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -147,9 +147,10 @@ case ${KDE_AUTODEPS} in
                RDEPEND+=" >=kde-frameworks/kf-env-3"
                COMMONDEPEND+=" >=dev-qt/qtcore-${QT_MINIMAL}:5"
 
-               if [[ ${CATEGORY} = kde-plasma && ${PN} != polkit-kde-agent ]]; 
then
+               if [[ ${CATEGORY} = kde-frameworks || ${CATEGORY} = kde-plasma 
&& ${PN} != polkit-kde-agent ]]; then
                        RDEPEND+="
                                !kde-apps/kde4-l10n[-minimal(-)]
+                               !<kde-apps/kde4-l10n-15.08.0-r1
                        "
                fi
 

Reply via email to