summaryrefslogtreecommitdiff
path: root/dev-qt/qttools/qttools-6.5.9999.ebuild
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-09-06 00:15:39 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-09-06 04:49:36 -0400
commit34670ebc0790326e41f1e1a7ae29f71d9a6cdc29 (patch)
treeb6d12af1e603a7b5e945d1c3a65ae22318f810b4 /dev-qt/qttools/qttools-6.5.9999.ebuild
parentdfd31ca21c4a8b89e869b968bd7e5ab86cb05a40 (diff)
downloadgentoo-34670ebc0790326e41f1e1a7ae29f71d9a6cdc29.tar.gz
gentoo-34670ebc0790326e41f1e1a7ae29f71d9a6cdc29.tar.bz2
gentoo-34670ebc0790326e41f1e1a7ae29f71d9a6cdc29.zip
dev-qt/qttools: optfeature on qt-docs with assistant (qt6)
Pulling by default does feel like a stretch, especially given this also provides QtHelp in this unsplit qttools and may just be pulled a dep. But no harm in an optfeature. Bug: https://bugs.gentoo.org/602296 Bug: https://bugs.gentoo.org/881435 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qttools/qttools-6.5.9999.ebuild')
-rw-r--r--dev-qt/qttools/qttools-6.5.9999.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-qt/qttools/qttools-6.5.9999.ebuild b/dev-qt/qttools/qttools-6.5.9999.ebuild
index 4c7d4b23fe7b..243633446599 100644
--- a/dev-qt/qttools/qttools-6.5.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.5.9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit llvm qt6-build
+inherit llvm optfeature qt6-build
DESCRIPTION="Qt Tools Collection"
@@ -67,3 +67,9 @@ src_configure() {
qt6-build_src_configure
}
+
+pkg_postinst() {
+ use assistant &&
+ optfeature "Qt documentation viewable in assistant" \
+ dev-qt/qt-docs:6 #602296
+}