summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-06-21 12:25:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-14 16:55:32 +0200
commit1ee2c73aa8b5e0f2d951d3687b23824052673042 (patch)
tree2a888ee605110f6c01249f6d7a3cb60857ea3ace /eclass
parent12d3277a5a5454f2aa5a81225c10707135fd2f55 (diff)
downloadkde-1ee2c73aa8b5e0f2d951d3687b23824052673042.tar.gz
kde-1ee2c73aa8b5e0f2d951d3687b23824052673042.tar.bz2
kde-1ee2c73aa8b5e0f2d951d3687b23824052673042.zip
ecm.eclass: Workaround Portage depgraph shortcomings from revdeps' side
Bug: https://bugs.gentoo.org/836726 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm.eclass21
1 files changed, 20 insertions, 1 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index 5a5b94d3499..4549fb6bf85 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -218,13 +218,32 @@ case ${ECM_HANDBOOK} in
;;
esac
+# Unfortunately, Portage has no concept of BDEPEND=dev-qt/qthelp being broken
+# by having only partially updated Qt dependencies, which means it will order
+# dev-qt/qthelp revdeps in build queue before its own Qt dependencies, leaving
+# qhelpgenerator broken. This is an attempt to help with that. Bug #836726
case ${ECM_QTHELP} in
true)
IUSE+=" doc"
COMMONDEPEND+=" doc? ( dev-qt/qt-docs:${KFSLOT} )"
BDEPEND+=" doc? (
>=app-doc/doxygen-1.8.13-r1
- dev-qt/qthelp:${KFSLOT}
+ || (
+ (
+ =dev-qt/qtcore-5.15.6*:5
+ =dev-qt/qtgui-5.15.6*:5
+ =dev-qt/qthelp-5.15.6*:5
+ =dev-qt/qtsql-5.15.6*:5
+ =dev-qt/qtwidgets-5.15.6*:5
+ )
+ (
+ =dev-qt/qtcore-5.15.5*:5
+ =dev-qt/qtgui-5.15.5*:5
+ =dev-qt/qthelp-5.15.5*:5
+ =dev-qt/qtsql-5.15.5*:5
+ =dev-qt/qtwidgets-5.15.5*:5
+ )
+ )
)"
;;
false) ;;