Skip to content

Commit

Permalink
ecm.eclass: Drop dev-qt/qtbase:6[test]
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Dec 21, 2023
1 parent 16c27fc commit 683d614
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions eclass/ecm.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ fi
# "forceoptional-recursive".
# Default value is "false", except for CATEGORY=kde-frameworks where it is
# set to "true". If set to "false", do nothing.
# For any other value, add "test" to IUSE and DEPEND on dev-qt/qtbase:6[test]
# (for KF5: dev-qt/qttest:5). If set to "optional", build with
# For any other value, add "test" to IUSE (and for KF5 DEPEND on
# dev-qt/qttest:5). If set to "optional", build with
# -DCMAKE_DISABLE_FIND_PACKAGE_Qt${_KFSLOT}Test=ON when USE=!test. If set
# to "forceoptional", punt Qt${_KFSLOT}Test dependency and ignore "autotests",
# "test", "tests" subdirs from top-level CMakeLists.txt when USE=!test.
Expand Down Expand Up @@ -260,9 +260,7 @@ esac
case ${ECM_TEST} in
true|optional|forceoptional|forceoptional-recursive)
IUSE+=" test"
if [[ ${_KFSLOT} == 6 ]]; then
DEPEND+=" test? ( dev-qt/qtbase:${_KFSLOT}[test] )"
else
if [[ ${_KFSLOT} == 5 ]]; then
DEPEND+=" test? ( dev-qt/qttest:${_KFSLOT} )"
fi
RESTRICT+=" !test? ( test )"
Expand Down

0 comments on commit 683d614

Please sign in to comment.