Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 12 May 2018 14:02:17
Message-Id: 1526133676.db341336f8d6663cf5f4f5e9456c2f2688471142.asturm@gentoo
1 commit: db341336f8d6663cf5f4f5e9456c2f2688471142
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 25 20:44:16 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat May 12 14:01:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db341336
7
8 kde5-functions.eclass: Fix add_qt_dep for QT_MINIMAL >=5.10
9
10 eclass/kde5-functions.eclass | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
14 index aab79b0ba9c..4435b09f69d 100644
15 --- a/eclass/kde5-functions.eclass
16 +++ b/eclass/kde5-functions.eclass
17 @@ -280,7 +280,7 @@ add_qt_dep() {
18 local slot=${4}
19
20 if [[ -z ${version} ]]; then
21 - if [[ ${1} = qtwebkit && ${QT_MINIMAL} = 5.9* ]]; then
22 + if [[ ${1} = qtwebkit && $(ver_cut 2 ${QT_MINIMAL}) -ge 9 ]]; then
23 version=5.9.1 # no more upstream release, need bug #624404
24 else
25 version=${QT_MINIMAL}