Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: eclass/
Date: Mon, 30 May 2016 00:40:32
Message-Id: 1464568798.cb6166dae65059db60215c4ff61e5547df862931.pesa@gentoo
1 commit: cb6166dae65059db60215c4ff61e5547df862931
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 00:23:00 2016 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 00:39:58 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=cb6166da
7
8 qt5-build.eclass: make sure we enable the QML debugging support
9
10 The code comment was incorrect, the flag *is* used, at least in Qt 5.6
11 and later. It obviously applies only to qtdeclarative, but for some
12 reason the flag can only be toggled from qtbase's configure... meh.
13
14 We don't allow turning this functionality off via a USE flag because
15 it would be a mess to implement properly, and its meaning would be
16 rather obscure for most users. It's a small amount of code anyway, and
17 it doesn't require any additional dependencies.
18
19 The configure already enabled -qml-debug by default, so this commit
20 effectively doesn't change anything in practice.
21
22 eclass/qt5-build.eclass | 4 ++--
23 1 file changed, 2 insertions(+), 2 deletions(-)
24
25 diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
26 index 9732058..349e551 100644
27 --- a/eclass/qt5-build.eclass
28 +++ b/eclass/qt5-build.eclass
29 @@ -547,8 +547,8 @@ qt5_base_configure() {
30 -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc
31 -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds
32
33 - # obsolete flag, does nothing
34 - #-qml-debug
35 + # ensure the QML debugging support (qmltooling) is built in qtdeclarative
36 + $([[ ${QT5_MINOR_VERSION} -ge 6 ]] && echo -qml-debug)
37
38 # MIPS DSP instruction set extensions
39 $(is-flagq -mno-dsp && echo -no-mips_dsp)