commit: 34670ebc0790326e41f1e1a7ae29f71d9a6cdc29 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Wed Sep 6 04:15:39 2023 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Wed Sep 6 08:49:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34670ebc
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 <AT> gentoo.org> dev-qt/qttools/qttools-6.5.2-r1.ebuild | 8 +++++++- dev-qt/qttools/qttools-6.5.9999.ebuild | 8 +++++++- dev-qt/qttools/qttools-6.9999.ebuild | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/dev-qt/qttools/qttools-6.5.2-r1.ebuild b/dev-qt/qttools/qttools-6.5.2-r1.ebuild index 4c7d4b23fe7b..243633446599 100644 --- a/dev-qt/qttools/qttools-6.5.2-r1.ebuild +++ b/dev-qt/qttools/qttools-6.5.2-r1.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 +} 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 +} diff --git a/dev-qt/qttools/qttools-6.9999.ebuild b/dev-qt/qttools/qttools-6.9999.ebuild index 4c7d4b23fe7b..243633446599 100644 --- a/dev-qt/qttools/qttools-6.9999.ebuild +++ b/dev-qt/qttools/qttools-6.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 +}
