kde5.eclass: KDE Applications 16.12 requires >=KF-5.27
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Mon, 17 Oct 2016 14:22:32 +0000 (16:22 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 12 Nov 2016 08:02:10 +0000 (19:02 +1100)
eclass/kde5.eclass

index 491e4e3cf0bd0f116ba8a66be243828a124202da..b5ea65a634bcccdc9ddd151a753bcf2eaa057010 100644 (file)
@@ -160,6 +160,14 @@ case ${KDE_AUTODEPS} in
                        fi
                fi
 
+               if [[ ${CATEGORY} = kde-apps ]]; then
+                       local vcr2=$((10#$(get_version_component_range 2)))
+                       if ! [[ $(get_version_component_range 1) -le 16 && ${vcr2} -lt 9 ]]; then
+                               FRAMEWORKS_MINIMAL=5.27.0
+                       fi
+                       unset vcr2
+               fi
+
                DEPEND+=" $(add_frameworks_dep extra-cmake-modules)"
                RDEPEND+=" >=kde-frameworks/kf-env-3"
                COMMONDEPEND+=" $(add_qt_dep qtcore)"