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, 08 Dec 2018 20:07:18
Message-Id: 1544299620.1c681d0511f7300434a5c8bddba14a43627c3a4b.asturm@gentoo
1 commit: 1c681d0511f7300434a5c8bddba14a43627c3a4b
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 15 11:18:45 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 8 20:07:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c681d05
7
8 qt5-build.eclass: fix configure for 5.12
9
10 The 'xinput2' configure option has been renamed to 'xcb-xinput' in:
11 http://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.12&id=a692d7cd
12
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 eclass/qt5-build.eclass | 4 +++-
16 1 file changed, 3 insertions(+), 1 deletion(-)
17
18 diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
19 index defbcad2e6b..d709e3cd58b 100644
20 --- a/eclass/qt5-build.eclass
21 +++ b/eclass/qt5-build.eclass
22 @@ -613,7 +613,9 @@ qt5_base_configure() {
23 -no-freetype -no-harfbuzz
24 -no-openssl -no-libproxy
25 -no-xkbcommon-x11 -no-xkbcommon-evdev
26 - -no-xinput2 -no-xcb-xlib
27 + -no-xcb-xlib
28 + $([[ ${QT5_MINOR_VERSION} -lt 12 ]] && echo -no-xinput2)
29 + $([[ ${QT5_MINOR_VERSION} -ge 12 ]] && echo -no-xcb-xinput)
30
31 # cannot use -no-gif because there is no way to override it later
32 #-no-gif