From ac3cc855859bc57c8ae5f67fe52b8f24ad816f50 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 31 Jan 2019 23:34:49 +0100 Subject: [PATCH] kde5.eclass: Qt 5.12 is changing qch doc location Signed-off-by: Andreas Sturmlechner --- eclass/kde5.eclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 176eb1337c7d..d7b5eb7f15e4 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -701,8 +701,11 @@ kde5_src_install() { # cmake can't find the tags and qthelp viewers can't find the docs local p=$(best_version dev-qt/qtcore:5) local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev) - if [[ -d ${ED%/}/usr/share/doc/qt-${pv} ]]; then - docompress -x /usr/share/doc/qt-${pv} + if [[ ${pv} = 5.11* ]]; then + #todo: clean up trailing slash check when EAPI <7 is removed + if [[ -d ${ED%/}/usr/share/doc/qt-${pv} ]]; then + docompress -x /usr/share/doc/qt-${pv} + fi fi if [[ ${EAPI} = 6 ]]; then -- 2.26.2