commit:     972ea806a0c3f34eb15c7480cf6cb400b637019c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 28 10:38:04 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Sep 29 14:57:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=972ea806

dev-qt/qt-docs: add comment to explain unpacker depends usage

It's kind of a unintended way to use it by passing a non-existing
archive, and may also seem useless from an onlooker when it's to
save from looping through 155 SRC_URI archives in global scope just
to find that at least one of them has a .7z.

...and qt6_docs_generate_metadata is already busy enough in global
scope in this ebuild to not need this big loop on top.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qt-docs/qt-docs-6.9.2_p202508181146.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-qt/qt-docs/qt-docs-6.9.2_p202508181146.ebuild 
b/dev-qt/qt-docs/qt-docs-6.9.2_p202508181146.ebuild
index 8e676f94c684..f28966125119 100644
--- a/dev-qt/qt-docs/qt-docs-6.9.2_p202508181146.ebuild
+++ b/dev-qt/qt-docs/qt-docs-6.9.2_p202508181146.ebuild
@@ -14,6 +14,7 @@ KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
 IUSE="+examples +html +qch"
 REQUIRED_USE="|| ( examples html qch )"
 
+# passing .7z to avoid looping through the massive list of archives for nothing
 BDEPEND="
        examples? ( $(unpacker_src_uri_depends .7z) )
 "

Reply via email to