commit: d10085b7179b9bb9eb6559ad233cbfcf1e8a5bbe Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Mar 17 09:56:49 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Mar 17 09:58:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10085b7
kde5.eclass: Add _kde5_really_dead eqawarn in pkg_setup, pkg_postinst Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/kde5.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index f886ef74652..0b8aa82ecf7 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -240,11 +240,16 @@ _kde5_strip_handbook_translations() { # @FUNCTION: cmake_use_find_package # @USAGE: <USE flag> <package name> # @DESCRIPTION: -# Compatibility alias for cmake.eclass -> cmake.eclass +# Compatibility alias for cmake-utils.eclass -> cmake.eclass cmake-utils_use_find_package() { cmake_use_find_package "$@" ; } +_kde5_really_dead() { + eqawarn "${CATEGORY}/${PN} is using DEAD kde5.eclass that will be removed" + eqawarn "on 2020-04-16. Read PORTING notes inside kde5.eclass and kde5-functions.eclass." +} + # @FUNCTION: kde5_pkg_pretend # @DESCRIPTION: # Checks if the active compiler meets the minimum version requirements. @@ -262,6 +267,7 @@ kde5_pkg_pretend() { # Checks if the active compiler meets the minimum version requirements. kde5_pkg_setup() { debug-print-function ${FUNCNAME} "$@" + _kde5_really_dead case ${KDE_AUTODEPS} in false) ;; *) ecm_pkg_setup ;; @@ -412,6 +418,7 @@ kde5_pkg_preinst() { # Updates the various XDG caches (icon, desktop, mime) if necessary. kde5_pkg_postinst() { debug-print-function ${FUNCNAME} "$@" + _kde5_really_dead case ${KDE_AUTODEPS} in false) xdg_pkg_postinst ;; *) ecm_pkg_postinst ;;