qt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2

Qt 5.15.2 and above will depend on dev-qt/qtchooser selectively.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2020-07-02 15:57:16 +02:00
parent a663ab344d
commit e0111ad572
No known key found for this signature in database
GPG Key ID: 508AA000E0EE83E0
1 changed files with 3 additions and 4 deletions

View File

@ -112,10 +112,9 @@ BDEPEND="
if [[ ${PN} != qttest ]]; then
DEPEND+=" test? ( ~dev-qt/qttest-${PV} )"
fi
RDEPEND="
dev-qt/qtchooser
"
if ver_test ${PV} -lt 5.15.2; then
RDEPEND+=" dev-qt/qtchooser"
fi
###### Phase functions ######