kde5-functions.eclass: add_qt_dep qtwebkit exception
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 31 Dec 2017 17:43:03 +0000 (18:43 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 13 Jan 2018 17:16:55 +0000 (18:16 +0100)
Upstream stopped at 5.9.1 and releases are going to be
independent from there on.

eclass/kde5-functions.eclass

index d60d9d55101e3eb66c6fd1bb412ea339e46cdd9b..3df54d51724258bed1e39d09303ee1105e541ad6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: kde5-functions.eclass
@@ -276,7 +276,11 @@ add_qt_dep() {
        local slot=${4}
 
        if [[ -z ${version} ]]; then
-               version=${QT_MINIMAL}
+               if [[ ${1} = qtwebkit && ${QT_MINIMAL} = 5.9* ]]; then
+                       version=5.9.1 # no more upstream release, need bug #624404
+               else
+                       version=${QT_MINIMAL}
+               fi
        fi
        if [[ -z ${slot} ]]; then
                slot="5"