summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-01-30 22:32:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-07 13:59:53 +0100
commitbd2409902087b1b4be9692bf576b3ad78dbc432c (patch)
treef4376fac31b2d837d47c423a48b00037bfa71ec0 /eclass/kde5-functions.eclass
parentkde5-functions.eclass: add_qt_dep: Drop obsolete qtwebkit ver check (diff)
downloadgentoo-bd2409902087b1b4be9692bf576b3ad78dbc432c.tar.gz
gentoo-bd2409902087b1b4be9692bf576b3ad78dbc432c.tar.bz2
gentoo-bd2409902087b1b4be9692bf576b3ad78dbc432c.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'eclass/kde5-functions.eclass')
-rw-r--r--eclass/kde5-functions.eclass6
1 files 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