kde4-functions.eclass: Exclude KDE PIM from 4.14.3 lowered deps logic
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Wed, 13 Jan 2016 22:22:50 +0000 (23:22 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 14 Jan 2016 12:07:06 +0000 (23:07 +1100)
Split packages will fail to build against unexpected lower kdepim deps.

eclass/kde4-functions.eclass

index 7319bc506d666e5eff4af52c93170422788c7126..174cc93c2222bfa48833e9de11cac51643038067 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -294,7 +294,8 @@ add_kdeapps_dep() {
                ver=${KDE_MINIMAL}
        # if building kde-apps, live master or stable-live branch,
        # use the final SC version since there are no further general releases.
-       elif [[ ${CATEGORY} == kde-apps || ${PV} == *9999 ]]; then
+       # except when it is kdepim split packages, which rely on same-version deps
+       elif [[ ${CATEGORY} == kde-apps || ${PV} == *9999 ]] && [[ ${KMNAME} != "kdepim" ]]; then
                ver=4.14.3
        else
                ver=${PV}