summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-09-26 07:12:54 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-09-26 10:19:21 -0400
commit66d6c2654b970846790583dc47333eee3cd43551 (patch)
tree6e5983f21d3a6af5ba18a674b736a40d0877db7e /dev-qt/qt-docs
parentdev-qt/*: sync live keywords (qt6) (diff)
downloadgentoo-66d6c2654b970846790583dc47333eee3cd43551.tar.gz
gentoo-66d6c2654b970846790583dc47333eee3cd43551.tar.bz2
gentoo-66d6c2654b970846790583dc47333eee3cd43551.zip
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@gentoo.org>
Diffstat (limited to 'dev-qt/qt-docs')
-rw-r--r--dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild2
-rw-r--r--dev-qt/qt-docs/qt-docs-6.5.2_p202307080352.ebuild2
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
)
"