public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtdiag/
Date: Sun, 23 Jul 2017 02:48:01 +0000 (UTC)	[thread overview]
Message-ID: <1500778073.6f70e2db202838db9947ac95ff1262a185845891.kensington@gentoo> (raw)

commit:     6f70e2db202838db9947ac95ff1262a185845891
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 02:47:49 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 02:47:53 2017 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=6f70e2db

dev-qt/qtdiag: introduce widgets USE flag

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-qt/qtdiag/metadata.xml           |  3 +++
 dev-qt/qtdiag/qtdiag-5.9.1.ebuild    | 10 +++++++++-
 dev-qt/qtdiag/qtdiag-5.9.9999.ebuild | 10 +++++++++-
 dev-qt/qtdiag/qtdiag-5.9999.ebuild   | 10 +++++++++-
 4 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/dev-qt/qtdiag/metadata.xml b/dev-qt/qtdiag/metadata.xml
index 08d85fc4..78e062f9 100644
--- a/dev-qt/qtdiag/metadata.xml
+++ b/dev-qt/qtdiag/metadata.xml
@@ -5,6 +5,9 @@
 		<email>qt@gentoo.org</email>
 		<name>Gentoo Qt Project</name>
 	</maintainer>
+	<use>
+		<flag name="widgets">Report widget style information</flag>
+	</use>
 	<upstream>
 		<bugs-to>https://bugreports.qt.io/</bugs-to>
 		<doc>http://doc.qt.io/</doc>

diff --git a/dev-qt/qtdiag/qtdiag-5.9.1.ebuild b/dev-qt/qtdiag/qtdiag-5.9.1.ebuild
index bdd36844..fffc2d08 100644
--- a/dev-qt/qtdiag/qtdiag-5.9.1.ebuild
+++ b/dev-qt/qtdiag/qtdiag-5.9.1.ebuild
@@ -11,15 +11,23 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
 	KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
 fi
 
-IUSE="+ssl"
+IUSE="+ssl widgets"
 
 DEPEND="
 	~dev-qt/qtcore-${PV}
 	~dev-qt/qtgui-${PV}
 	~dev-qt/qtnetwork-${PV}[ssl=]
+	widgets? ( ~dev-qt/qtwidgets-${PV} )
 "
 RDEPEND="${DEPEND}"
 
 QT5_TARGET_SUBDIRS=(
 	src/qtdiag
 )
+
+src_prepare() {
+	qt_use_disable_mod widgets widgets \
+		src/qtdiag/qtdiag.pro
+
+	qt5-build_src_prepare
+}

diff --git a/dev-qt/qtdiag/qtdiag-5.9.9999.ebuild b/dev-qt/qtdiag/qtdiag-5.9.9999.ebuild
index bdd36844..fffc2d08 100644
--- a/dev-qt/qtdiag/qtdiag-5.9.9999.ebuild
+++ b/dev-qt/qtdiag/qtdiag-5.9.9999.ebuild
@@ -11,15 +11,23 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
 	KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
 fi
 
-IUSE="+ssl"
+IUSE="+ssl widgets"
 
 DEPEND="
 	~dev-qt/qtcore-${PV}
 	~dev-qt/qtgui-${PV}
 	~dev-qt/qtnetwork-${PV}[ssl=]
+	widgets? ( ~dev-qt/qtwidgets-${PV} )
 "
 RDEPEND="${DEPEND}"
 
 QT5_TARGET_SUBDIRS=(
 	src/qtdiag
 )
+
+src_prepare() {
+	qt_use_disable_mod widgets widgets \
+		src/qtdiag/qtdiag.pro
+
+	qt5-build_src_prepare
+}

diff --git a/dev-qt/qtdiag/qtdiag-5.9999.ebuild b/dev-qt/qtdiag/qtdiag-5.9999.ebuild
index bdd36844..fffc2d08 100644
--- a/dev-qt/qtdiag/qtdiag-5.9999.ebuild
+++ b/dev-qt/qtdiag/qtdiag-5.9999.ebuild
@@ -11,15 +11,23 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
 	KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
 fi
 
-IUSE="+ssl"
+IUSE="+ssl widgets"
 
 DEPEND="
 	~dev-qt/qtcore-${PV}
 	~dev-qt/qtgui-${PV}
 	~dev-qt/qtnetwork-${PV}[ssl=]
+	widgets? ( ~dev-qt/qtwidgets-${PV} )
 "
 RDEPEND="${DEPEND}"
 
 QT5_TARGET_SUBDIRS=(
 	src/qtdiag
 )
+
+src_prepare() {
+	qt_use_disable_mod widgets widgets \
+		src/qtdiag/qtdiag.pro
+
+	qt5-build_src_prepare
+}


             reply	other threads:[~2017-07-23  2:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-23  2:48 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-21 10:06 [gentoo-commits] proj/qt:master commit in: dev-qt/qtdiag/ Andreas Sturmlechner
2020-09-29 20:39 Andreas Sturmlechner
2017-07-23 11:35 Michael Palimaka
2017-07-23  2:55 Michael Palimaka
2014-08-16 12:08 Davide Pesavento
2014-08-19  1:07 ` Davide Pesavento
2014-05-15 15:16 Michael Palimaka
2014-05-15 14:34 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1500778073.6f70e2db202838db9947ac95ff1262a185845891.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox