From: "Jimi Huotari" <chiitoo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtdeclarative/
Date: Mon, 20 Jun 2022 18:03:27 +0000 (UTC) [thread overview]
Message-ID: <1655748124.2225a14e34139f8d8bcdc872312dde87202ce234.chiitoo@gentoo> (raw)
commit: 2225a14e34139f8d8bcdc872312dde87202ce234
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 9 13:47:55 2022 +0000
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 18:02:04 2022 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=2225a14e
dev-qt/qtdeclarative: add USE-flags and adjust dependencies for qt6
As requested at: https://github.com/gentoo/gentoo/pull/25635
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
dev-qt/qtdeclarative/metadata.xml | 2 ++
dev-qt/qtdeclarative/qtdeclarative-6.3.0.ebuild | 17 +++++++++++++++--
dev-qt/qtdeclarative/qtdeclarative-6.3.9999.ebuild | 19 ++++++++++++++++---
dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild | 19 ++++++++++++++++---
4 files changed, 49 insertions(+), 8 deletions(-)
diff --git a/dev-qt/qtdeclarative/metadata.xml b/dev-qt/qtdeclarative/metadata.xml
index 050837f3..aa22d78a 100644
--- a/dev-qt/qtdeclarative/metadata.xml
+++ b/dev-qt/qtdeclarative/metadata.xml
@@ -7,7 +7,9 @@
</maintainer>
<use>
<flag name="localstorage">Build the LocalStorage import for QtQuick (requires QtSql)</flag>
+ <flag name="opengl">Enable OpenGL support</flag>
<flag name="vulkan">Enable support for Vulkan</flag>
+ <flag name="sql">Enable QtSQL support</flag>
<flag name="widgets">Enable QtWidgets support</flag>
</use>
<upstream>
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.3.0.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.3.0.ebuild
index 0c20bbb9..3204679c 100644
--- a/dev-qt/qtdeclarative/qtdeclarative-6.3.0.ebuild
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.3.0.ebuild
@@ -11,10 +11,23 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="opengl sql widgets"
+
DEPEND="
- =dev-qt/qtbase-${PV}*[gui,network,opengl,sql,test,widgets]
+ =dev-qt/qtbase-${PV}*[network]
=dev-qt/qtshadertools-${PV}*
+ opengl? ( =dev-qt/qtbase-${PV}*[opengl] )
+ sql? ( =dev-qt/qtbase-${PV}*[sql] )
+ widgets? ( =dev-qt/qtbase-${PV}*[widgets] )
"
RDEPEND="${DEPEND}"
-# TODO: qml/quick automagic
+src_configure() {
+ local mycmakeargs=(
+ $(qt_feature opengl)
+ $(qt_feature sql)
+ $(qt_feature widgets)
+ )
+
+ qt6-build_src_configure
+}
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.3.9999.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.3.9999.ebuild
index 051dcc4c..3204679c 100644
--- a/dev-qt/qtdeclarative/qtdeclarative-6.3.9999.ebuild
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.3.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,10 +11,23 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="opengl sql widgets"
+
DEPEND="
- =dev-qt/qtbase-${PV}*[gui,network,opengl,sql,test,widgets]
+ =dev-qt/qtbase-${PV}*[network]
=dev-qt/qtshadertools-${PV}*
+ opengl? ( =dev-qt/qtbase-${PV}*[opengl] )
+ sql? ( =dev-qt/qtbase-${PV}*[sql] )
+ widgets? ( =dev-qt/qtbase-${PV}*[widgets] )
"
RDEPEND="${DEPEND}"
-# TODO: qml/quick automagic
+src_configure() {
+ local mycmakeargs=(
+ $(qt_feature opengl)
+ $(qt_feature sql)
+ $(qt_feature widgets)
+ )
+
+ qt6-build_src_configure
+}
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
index 051dcc4c..3204679c 100644
--- a/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,10 +11,23 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="opengl sql widgets"
+
DEPEND="
- =dev-qt/qtbase-${PV}*[gui,network,opengl,sql,test,widgets]
+ =dev-qt/qtbase-${PV}*[network]
=dev-qt/qtshadertools-${PV}*
+ opengl? ( =dev-qt/qtbase-${PV}*[opengl] )
+ sql? ( =dev-qt/qtbase-${PV}*[sql] )
+ widgets? ( =dev-qt/qtbase-${PV}*[widgets] )
"
RDEPEND="${DEPEND}"
-# TODO: qml/quick automagic
+src_configure() {
+ local mycmakeargs=(
+ $(qt_feature opengl)
+ $(qt_feature sql)
+ $(qt_feature widgets)
+ )
+
+ qt6-build_src_configure
+}
next reply other threads:[~2022-06-20 18:03 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-20 18:03 Jimi Huotari [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 18:12 [gentoo-commits] proj/qt:master commit in: dev-qt/qtdeclarative/ Andreas Sturmlechner
2023-10-08 11:58 Andreas Sturmlechner
2022-11-05 16:39 Andreas Sturmlechner
2022-09-24 21:24 Andreas Sturmlechner
2022-09-24 17:03 Andreas Sturmlechner
2022-08-03 9:12 Andreas Sturmlechner
2022-06-22 6:34 Jimi Huotari
2022-06-21 21:32 Andreas Sturmlechner
2022-06-21 20:15 Jimi Huotari
2022-06-18 14:27 Andreas Sturmlechner
2022-04-01 18:23 Andreas Sturmlechner
2022-03-21 10:06 Andreas Sturmlechner
2021-12-24 23:08 Andreas Sturmlechner
2021-09-30 11:35 Andreas Sturmlechner
2021-09-22 7:19 Andreas Sturmlechner
2020-12-26 23:56 Andreas Sturmlechner
2020-11-17 21:20 Andreas Sturmlechner
2020-07-30 9:22 Andreas Sturmlechner
2020-05-26 15:00 Andreas Sturmlechner
2020-04-16 19:33 Andreas Sturmlechner
2020-04-03 20:03 Andreas Sturmlechner
2020-03-21 13:50 Andreas Sturmlechner
2020-02-28 10:15 Andreas Sturmlechner
2020-01-06 0:05 Andreas Sturmlechner
2019-10-13 21:56 Andreas Sturmlechner
2019-03-16 19:09 Andreas Sturmlechner
2018-12-06 12:29 Andreas Sturmlechner
2018-01-01 3:49 Michael Palimaka
2018-01-01 3:12 Michael Palimaka
2017-09-13 12:12 Michael Palimaka
2017-09-12 15:28 Michael Palimaka
2017-09-11 13:11 Michael Palimaka
2017-07-23 2:34 Michael Palimaka
2016-10-12 11:57 Davide Pesavento
2016-10-06 15:23 Michael Palimaka
2016-10-06 15:21 Michael Palimaka
2016-05-29 23:58 Davide Pesavento
2016-05-29 23:19 Davide Pesavento
2016-01-20 17:35 Davide Pesavento
2015-10-09 15:52 Michael Palimaka
2014-08-02 22:45 Davide Pesavento
2013-10-01 22:46 Davide Pesavento
2013-09-29 11:16 Davide Pesavento
2013-09-04 17:53 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=1655748124.2225a14e34139f8d8bcdc872312dde87202ce234.chiitoo@gentoo \
--to=chiitoo@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