From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtscxml/
Date: Sat, 9 Sep 2023 16:22:47 +0000 (UTC) [thread overview]
Message-ID: <1694275592.e69ee1b26d41ce7a3edeb96e2c48ab3b64e6ae4a.ionen@gentoo> (raw)
commit: e69ee1b26d41ce7a3edeb96e2c48ab3b64e6ae4a
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 8 09:27:34 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Sep 9 16:06:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69ee1b2
dev-qt/qtscxml: tighten deps, make qml optional
Missed that qml could be reasonably optional here.
And cannot find where it would need the rest outside examples.
Gui could technically be optional but would need its own USE.
Do not think it is worth it here unless someone wants this.
Maybe missing it, but failed to find anything at all using
opengl, it is listed in the docs but...?
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtscxml/metadata.xml | 3 +++
.../{qtscxml-6.5.2.ebuild => qtscxml-6.5.2-r1.ebuild} | 16 +++++++++++++---
dev-qt/qtscxml/qtscxml-6.5.9999.ebuild | 16 +++++++++++++---
dev-qt/qtscxml/qtscxml-6.9999.ebuild | 16 +++++++++++++---
4 files changed, 42 insertions(+), 9 deletions(-)
diff --git a/dev-qt/qtscxml/metadata.xml b/dev-qt/qtscxml/metadata.xml
index 702f3c500dd7..ef86286201dd 100644
--- a/dev-qt/qtscxml/metadata.xml
+++ b/dev-qt/qtscxml/metadata.xml
@@ -5,6 +5,9 @@
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
+ <use>
+ <flag name="qml">Build QML/QtQuick bindings and imports</flag>
+ </use>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
<doc>https://doc.qt.io/</doc>
diff --git a/dev-qt/qtscxml/qtscxml-6.5.2.ebuild b/dev-qt/qtscxml/qtscxml-6.5.2-r1.ebuild
similarity index 61%
rename from dev-qt/qtscxml/qtscxml-6.5.2.ebuild
rename to dev-qt/qtscxml/qtscxml-6.5.2-r1.ebuild
index c3e29fd2e2f0..3baf824212bc 100644
--- a/dev-qt/qtscxml/qtscxml-6.5.2.ebuild
+++ b/dev-qt/qtscxml/qtscxml-6.5.2-r1.ebuild
@@ -11,14 +11,24 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="qml"
+
RDEPEND="
- ~dev-qt/qtbase-${PV}:6[gui,network,opengl,widgets]
- ~dev-qt/qtdeclarative-${PV}:6
+ ~dev-qt/qtbase-${PV}:6[gui]
+ qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# may fail with pid-sandbox, or at least musl/hardened+gcc (exact
- # conditions unknown but passes without pid, consider flaky)
+ # conditions unknown but passes without pid, considering this flaky)
tst_qstatemachine
)
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ )
+
+ qt6-build_src_configure
+}
diff --git a/dev-qt/qtscxml/qtscxml-6.5.9999.ebuild b/dev-qt/qtscxml/qtscxml-6.5.9999.ebuild
index c3e29fd2e2f0..3baf824212bc 100644
--- a/dev-qt/qtscxml/qtscxml-6.5.9999.ebuild
+++ b/dev-qt/qtscxml/qtscxml-6.5.9999.ebuild
@@ -11,14 +11,24 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="qml"
+
RDEPEND="
- ~dev-qt/qtbase-${PV}:6[gui,network,opengl,widgets]
- ~dev-qt/qtdeclarative-${PV}:6
+ ~dev-qt/qtbase-${PV}:6[gui]
+ qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# may fail with pid-sandbox, or at least musl/hardened+gcc (exact
- # conditions unknown but passes without pid, consider flaky)
+ # conditions unknown but passes without pid, considering this flaky)
tst_qstatemachine
)
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ )
+
+ qt6-build_src_configure
+}
diff --git a/dev-qt/qtscxml/qtscxml-6.9999.ebuild b/dev-qt/qtscxml/qtscxml-6.9999.ebuild
index c3e29fd2e2f0..3baf824212bc 100644
--- a/dev-qt/qtscxml/qtscxml-6.9999.ebuild
+++ b/dev-qt/qtscxml/qtscxml-6.9999.ebuild
@@ -11,14 +11,24 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="qml"
+
RDEPEND="
- ~dev-qt/qtbase-${PV}:6[gui,network,opengl,widgets]
- ~dev-qt/qtdeclarative-${PV}:6
+ ~dev-qt/qtbase-${PV}:6[gui]
+ qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# may fail with pid-sandbox, or at least musl/hardened+gcc (exact
- # conditions unknown but passes without pid, consider flaky)
+ # conditions unknown but passes without pid, considering this flaky)
tst_qstatemachine
)
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ )
+
+ qt6-build_src_configure
+}
next reply other threads:[~2023-09-09 16:22 UTC|newest]
Thread overview: 130+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-09 16:22 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-22 14:46 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtscxml/ Arthur Zamarin
2025-02-21 15:34 Arthur Zamarin
2025-01-06 22:51 Ionen Wolkens
2024-12-28 16:58 Andreas Sturmlechner
2024-12-28 12:13 Arthur Zamarin
2024-12-28 11:02 Arthur Zamarin
2024-12-27 1:54 Sam James
2024-12-25 22:40 Sam James
2024-12-15 20:18 Ionen Wolkens
2024-12-03 18:16 Ionen Wolkens
2024-12-02 7:23 Ionen Wolkens
2024-11-27 5:13 Sam James
2024-11-21 21:39 Andreas Sturmlechner
2024-11-02 14:10 Arthur Zamarin
2024-11-01 6:35 Arthur Zamarin
2024-10-09 6:22 Ionen Wolkens
2024-10-08 5:03 Ionen Wolkens
2024-09-27 7:26 Ionen Wolkens
2024-09-24 9:57 Ionen Wolkens
2024-07-16 1:29 Ionen Wolkens
2024-07-11 3:16 Ionen Wolkens
2024-07-08 11:16 Arthur Zamarin
2024-07-08 10:09 Sam James
2024-06-23 10:50 Arthur Zamarin
2024-06-18 18:14 Ionen Wolkens
2024-06-08 13:41 Ionen Wolkens
2024-06-08 5:27 Arthur Zamarin
2024-06-06 16:43 Andreas Sturmlechner
2024-06-04 19:36 Ionen Wolkens
2024-06-02 4:04 Sam James
2024-06-01 15:59 Arthur Zamarin
2024-05-30 12:52 Andreas Sturmlechner
2024-05-28 18:56 Arthur Zamarin
2024-05-20 8:48 Ionen Wolkens
2024-05-17 5:49 Ionen Wolkens
2024-05-16 15:36 Arthur Zamarin
2024-04-19 7:55 Ionen Wolkens
2024-04-13 17:50 Arthur Zamarin
2024-04-05 15:01 Andreas Sturmlechner
2024-04-04 4:23 Arthur Zamarin
2024-04-03 20:45 Arthur Zamarin
2024-04-02 13:06 Ionen Wolkens
2024-04-01 18:29 Arthur Zamarin
2024-03-30 0:29 Ionen Wolkens
2024-03-28 4:03 Yixun Lan
2024-03-27 12:44 Arthur Zamarin
2024-03-26 18:46 Arthur Zamarin
2024-03-26 7:10 Ionen Wolkens
2024-03-24 18:39 Ionen Wolkens
2024-03-23 17:01 Andreas Sturmlechner
2024-03-22 10:29 Ionen Wolkens
2024-03-12 12:01 Ionen Wolkens
2024-02-20 14:30 Arthur Zamarin
2024-02-14 12:24 Ionen Wolkens
2024-02-01 23:06 Andreas Sturmlechner
2024-01-31 7:18 Joonas Niilola
2024-01-29 4:22 Ionen Wolkens
2024-01-01 21:14 Andreas Sturmlechner
2023-12-19 20:33 Ionen Wolkens
2023-12-17 18:29 Arthur Zamarin
2023-12-12 21:25 Ionen Wolkens
2023-11-27 8:47 Ionen Wolkens
2023-11-15 19:28 Ionen Wolkens
2023-11-15 17:20 Arthur Zamarin
2023-11-06 18:11 Andreas Sturmlechner
2023-10-10 14:51 Ionen Wolkens
2023-10-08 15:58 Andreas Sturmlechner
2023-09-28 13:07 Ionen Wolkens
2023-09-26 19:48 Ionen Wolkens
2023-09-15 4:49 Sam James
2023-07-26 13:31 Jimi Huotari
2023-07-20 19:41 Jimi Huotari
2023-07-13 8:42 Andreas Sturmlechner
2023-07-09 17:00 Arthur Zamarin
2023-06-13 11:42 Andreas Sturmlechner
2023-06-10 13:33 Jimi Huotari
2023-05-01 12:54 Andreas Sturmlechner
2023-04-23 16:00 Arthur Zamarin
2023-04-13 21:45 Andreas Sturmlechner
2023-01-24 9:45 Andreas Sturmlechner
2023-01-21 9:15 Arthur Zamarin
2023-01-17 20:56 Arthur Zamarin
2023-01-17 20:04 Sam James
2023-01-08 21:45 Andreas Sturmlechner
2022-12-06 17:07 Andreas Sturmlechner
2022-12-04 19:22 Arthur Zamarin
2022-12-03 20:37 Arthur Zamarin
2022-12-03 11:02 Sam James
2022-11-29 20:51 Andreas Sturmlechner
2022-07-06 10:27 Andreas Sturmlechner
2022-07-04 18:00 Arthur Zamarin
2022-07-02 18:26 Sam James
2022-06-30 22:19 Sam James
2022-06-19 12:26 Andreas Sturmlechner
2022-06-14 17:32 Andreas Sturmlechner
2022-06-14 13:27 Sam James
2022-06-14 7:21 Agostino Sarubbo
2022-06-10 3:16 Sam James
2022-05-20 19:43 Andreas Sturmlechner
2022-04-17 19:29 Sam James
2022-04-14 0:19 Sam James
2022-04-12 22:49 Sam James
2022-04-12 19:35 Arthur Zamarin
2022-02-25 18:53 Arthur Zamarin
2021-01-10 9:06 Sam James
2021-01-09 21:16 Sam James
2021-01-09 15:15 Sam James
2020-10-18 14:45 Thomas Deutschmann
2020-10-12 15:22 Sam James
2020-10-12 11:45 Sam James
2020-05-20 13:32 Mikle Kolyada
2020-05-20 9:50 Mikle Kolyada
2020-05-19 19:32 Mikle Kolyada
2020-03-28 10:03 Mart Raudsepp
2020-03-19 13:15 Agostino Sarubbo
2020-03-19 12:46 Agostino Sarubbo
2019-12-22 16:29 Aaron Bauman
2019-12-18 11:23 Agostino Sarubbo
2019-11-12 15:01 Aaron Bauman
2019-10-20 16:10 Mikle Kolyada
2019-05-21 20:50 Mikle Kolyada
2019-05-21 15:03 Mikle Kolyada
2019-01-09 10:40 Mikle Kolyada
2019-01-09 10:32 Mikle Kolyada
2018-10-17 22:21 Thomas Deutschmann
2018-10-16 16:09 Mikle Kolyada
2018-07-15 14:23 Thomas Deutschmann
2018-07-13 13:41 Mikle Kolyada
2017-09-11 12:17 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=1694275592.e69ee1b26d41ce7a3edeb96e2c48ab3b64e6ae4a.ionen@gentoo \
--to=ionen@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