commit: 66d6c2654b970846790583dc47333eee3cd43551
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 11:12:54 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 14:19:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d6c265
dev-qt/qt-docs: use unpacker_src_uri_depends
Kinda did not want to use it because SRC_URI has a lot of files
to needlessly iterate through in global scope. But p7zip is slowly
falling to abandon and may need replacement eventually, and then
hard depedencies just be troublesome.
As a middle ground, just pass ".7z" to tell it what we need.
Note this has extra importance in :6 given SRC_URI has not
been populated yet and did not want to move BDEPEND all
way the way down.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild | 2 +-
dev-qt/qt-docs/qt-docs-6.5.2_p202307080352.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild
b/dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild
index 6cbc13b122d3..3c5ac9819d29 100644
--- a/dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild
+++ b/dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild
@@ -85,7 +85,7 @@ unset DOCTAR DOCUSE
S=${WORKDIR}/Docs/Qt-${PV%_p*}
BDEPEND="
- app-arch/p7zip
+ $(unpacker_src_uri_depends .7z)
media-libs/libpng:0
"
diff --git a/dev-qt/qt-docs/qt-docs-6.5.2_p202307080352.ebuild
b/dev-qt/qt-docs/qt-docs-6.5.2_p202307080352.ebuild
index dfdc6d93de58..e2947fa470ee 100644
--- a/dev-qt/qt-docs/qt-docs-6.5.2_p202307080352.ebuild
+++ b/dev-qt/qt-docs/qt-docs-6.5.2_p202307080352.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="|| ( examples html qch )"
BDEPEND="
examples? (
- app-arch/p7zip
+ $(unpacker_src_uri_depends .7z)
media-libs/libpng
)
"