From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtquickcontrols/
Date: Thu, 15 May 2014 18:27:17 +0000 (UTC) [thread overview]
Message-ID: <1400178300.85d63e66827e8b2e8565304954979a92c6dfb848.kensington@gentoo> (raw)
commit: 85d63e66827e8b2e8565304954979a92c6dfb848
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 18:25:00 2014 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu May 15 18:25:00 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=85d63e66
[dev-qt/qtquickcontrols] Handle widgets automagic.
Package-Manager: portage-2.2.8-r1
---
dev-qt/qtquickcontrols/metadata.xml | 3 +++
dev-qt/qtquickcontrols/qtquickcontrols-5.3.0_rc.ebuild | 16 +++++++++++++---
dev-qt/qtquickcontrols/qtquickcontrols-5.3.9999.ebuild | 16 +++++++++++++---
dev-qt/qtquickcontrols/qtquickcontrols-5.9999.ebuild | 16 +++++++++++++---
4 files changed, 42 insertions(+), 9 deletions(-)
diff --git a/dev-qt/qtquickcontrols/metadata.xml b/dev-qt/qtquickcontrols/metadata.xml
index 9d5bff1..a373189 100644
--- a/dev-qt/qtquickcontrols/metadata.xml
+++ b/dev-qt/qtquickcontrols/metadata.xml
@@ -2,6 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>qt</herd>
+ <use>
+ <flag name="widgets">Enable QtWidgets support</flag>
+ </use>
<upstream>
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
<doc>http://qt-project.org/doc/</doc>
diff --git a/dev-qt/qtquickcontrols/qtquickcontrols-5.3.0_rc.ebuild b/dev-qt/qtquickcontrols/qtquickcontrols-5.3.0_rc.ebuild
index b55b3d5..0c00bd7 100644
--- a/dev-qt/qtquickcontrols/qtquickcontrols-5.3.0_rc.ebuild
+++ b/dev-qt/qtquickcontrols/qtquickcontrols-5.3.0_rc.ebuild
@@ -14,13 +14,23 @@ else
KEYWORDS="~amd64"
fi
-# FIXME: widgets is automagic in src/private/private.pri
-
-IUSE=""
+IUSE="widgets"
DEPEND="
>=dev-qt/qtcore-${PV}:5[debug=]
>=dev-qt/qtdeclarative-${PV}:5[debug=]
>=dev-qt/qtgui-${PV}:5[debug=]
+ widgets? ( >=dev-qt/qtwidgets-${PV}:5[debug=] )
"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod widgets widgets \
+ src/src.pro \
+ src/controls/Private/private.pri \
+ tests/auto/activeFocusOnTab/activeFocusOnTab.pro \
+ tests/auto/controls/controls.pro \
+ tests/auto/testplugin/testplugin.pro
+
+ qt5-build_src_prepare
+}
diff --git a/dev-qt/qtquickcontrols/qtquickcontrols-5.3.9999.ebuild b/dev-qt/qtquickcontrols/qtquickcontrols-5.3.9999.ebuild
index b55b3d5..0c00bd7 100644
--- a/dev-qt/qtquickcontrols/qtquickcontrols-5.3.9999.ebuild
+++ b/dev-qt/qtquickcontrols/qtquickcontrols-5.3.9999.ebuild
@@ -14,13 +14,23 @@ else
KEYWORDS="~amd64"
fi
-# FIXME: widgets is automagic in src/private/private.pri
-
-IUSE=""
+IUSE="widgets"
DEPEND="
>=dev-qt/qtcore-${PV}:5[debug=]
>=dev-qt/qtdeclarative-${PV}:5[debug=]
>=dev-qt/qtgui-${PV}:5[debug=]
+ widgets? ( >=dev-qt/qtwidgets-${PV}:5[debug=] )
"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod widgets widgets \
+ src/src.pro \
+ src/controls/Private/private.pri \
+ tests/auto/activeFocusOnTab/activeFocusOnTab.pro \
+ tests/auto/controls/controls.pro \
+ tests/auto/testplugin/testplugin.pro
+
+ qt5-build_src_prepare
+}
diff --git a/dev-qt/qtquickcontrols/qtquickcontrols-5.9999.ebuild b/dev-qt/qtquickcontrols/qtquickcontrols-5.9999.ebuild
index b55b3d5..0c00bd7 100644
--- a/dev-qt/qtquickcontrols/qtquickcontrols-5.9999.ebuild
+++ b/dev-qt/qtquickcontrols/qtquickcontrols-5.9999.ebuild
@@ -14,13 +14,23 @@ else
KEYWORDS="~amd64"
fi
-# FIXME: widgets is automagic in src/private/private.pri
-
-IUSE=""
+IUSE="widgets"
DEPEND="
>=dev-qt/qtcore-${PV}:5[debug=]
>=dev-qt/qtdeclarative-${PV}:5[debug=]
>=dev-qt/qtgui-${PV}:5[debug=]
+ widgets? ( >=dev-qt/qtwidgets-${PV}:5[debug=] )
"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod widgets widgets \
+ src/src.pro \
+ src/controls/Private/private.pri \
+ tests/auto/activeFocusOnTab/activeFocusOnTab.pro \
+ tests/auto/controls/controls.pro \
+ tests/auto/testplugin/testplugin.pro
+
+ qt5-build_src_prepare
+}
next reply other threads:[~2014-05-15 18:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 18:27 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-30 14:03 [gentoo-commits] proj/qt:master commit in: dev-qt/qtquickcontrols/ Andreas Sturmlechner
2022-09-08 9:29 Andreas Sturmlechner
2022-05-14 21:14 Andreas Sturmlechner
2022-03-04 9:51 Andreas Sturmlechner
2021-08-20 12:36 Andreas Sturmlechner
2019-02-28 14:19 Andreas Sturmlechner
2019-01-07 19:46 Davide Pesavento
2015-08-22 2:17 Davide Pesavento
2014-05-16 15:10 Michael Palimaka
2014-05-15 18:27 Michael Palimaka
2013-10-22 13:17 Davide Pesavento
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=1400178300.85d63e66827e8b2e8565304954979a92c6dfb848.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