From bd2409902087b1b4be9692bf576b3ad78dbc432c Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 30 Jan 2019 22:32:05 +0100 Subject: [PATCH] kde5-functions.eclass: Disallow add_qt_dep for discontinued qtwebkit Drop support for it as packages are slowly being ported away from it. Signed-off-by: Andreas Sturmlechner --- eclass/kde5-functions.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 8098020c5f20..1d0a0ffb3236 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -264,10 +264,10 @@ add_qt_dep() { local slot=${4} if [[ -z ${version} ]]; then + version=${QT_MINIMAL} if [[ ${1} = qtwebkit ]]; then - version=5.9.1 # no more upstream release - else - version=${QT_MINIMAL} + version=5.9.1 + [[ ${EAPI} != 6 ]] && die "${FUNCNAME} is disallowed for 'qtwebkit' in EAPI 7 and later" fi fi if [[ -z ${slot} ]]; then -- 2.26.2