From: Andreas Sturmlechner Date: Wed, 30 Jan 2019 21:32:05 +0000 (+0100) Subject: kde5-functions.eclass: Disallow add_qt_dep for discontinued qtwebkit X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bd2409902087b1b4be9692bf576b3ad78dbc432c;p=gentoo.git 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 --- 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