summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-25 22:27:58 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-25 23:40:47 +0100
commit072da15f03fea298ef12bfec3ea8ac95f85a15d5 (patch)
treebdd5e7a25caf520286293a9fa4d1060ff823c519 /dev-qt/qtdiag
parentqt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2 (diff)
downloadgentoo-072da15f03fea298ef12bfec3ea8ac95f85a15d5.tar.gz
gentoo-072da15f03fea298ef12bfec3ea8ac95f85a15d5.tar.bz2
gentoo-072da15f03fea298ef12bfec3ea8ac95f85a15d5.zip
dev-qt: Add RDEPEND on dev-qt/qtchooser where link targets exist
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtdiag')
-rw-r--r--dev-qt/qtdiag/qtdiag-5.15.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-qt/qtdiag/qtdiag-5.15.2.ebuild b/dev-qt/qtdiag/qtdiag-5.15.2.ebuild
index 3a64cd887589..66f891a69ccc 100644
--- a/dev-qt/qtdiag/qtdiag-5.15.2.ebuild
+++ b/dev-qt/qtdiag/qtdiag-5.15.2.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
QT5_MODULE="qttools"
inherit qt5-build
@@ -13,16 +14,19 @@ fi
IUSE="+network +widgets"
-RDEPEND="
+COMMON_DEPEND="
~dev-qt/qtcore-${PV}:5=
~dev-qt/qtgui-${PV}:5=
network? ( ~dev-qt/qtnetwork-${PV}[ssl] )
widgets? ( ~dev-qt/qtwidgets-${PV} )
"
# TODO: we know it is bogus, figure out how to disable checks, bug 728278
-DEPEND="${RDEPEND}
+DEPEND="${COMMON_DEPEND}
~dev-qt/qtxml-${PV}
"
+RDEPEND="${COMMON_DEPEND}
+ dev-qt/qtchooser
+"
src_prepare() {
qt_use_disable_mod network network \