diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index f230509ab745..b7c20c63aab1 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -113,8 +113,7 @@ fi # @ECLASS_VARIABLE: ECM_PYTHON_BINDINGS # @DESCRIPTION: # Default value is "false", which means do nothing. -# If set to "off", pass -DBUILD_PYTHON_BINDINGS=OFF to mycmakeargs, and also -# disable cmake finding Python3, PySide6 and Shiboken6 to make it quiet. +# If set to "off", pass -DBUILD_PYTHON_BINDINGS=OFF to mycmakeargs. # No other value is implemented as python bindings are not supported in Gentoo. : "${ECM_PYTHON_BINDINGS:=false}" @@ -125,7 +124,9 @@ fi # If set to "true", add "doc" to IUSE, add the appropriate dependency, let # -DBUILD_QCH=ON generate and install Qt compressed help files when USE=doc. # If set to "false", do nothing. -if [[ ${CATEGORY} = kde-frameworks ]] && ver_test -lt 6.15; then +if [[ ${CATEGORY} = kde-frameworks && ${_KFSLOT} == 5 ]]; then +# TODO: Implement KF 6.15 changes how API documentation is built. See also: +# https://mail.kde.org/pipermail/distributions/2025-June/001595.html : "${ECM_QTHELP:=true}" fi : "${ECM_QTHELP:=false}" @@ -562,11 +563,14 @@ ecm_src_prepare() { # limit playing field of locale stripping to kde-*/ categories if [[ ${CATEGORY} = kde-* ]] ; then - # always install unconditionally for kconfigwidgets - if you use + # TODO: cleanup after KF5 removal: + # always install unconditionally for