summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-01-31 23:34:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-21 17:24:52 +0100
commitac3cc855859bc57c8ae5f67fe52b8f24ad816f50 (patch)
tree676e8519bb3777dc47f34657066b9c514ca7dbc5 /eclass
parentkde5-functions.eclass: kde-apps-19.04 already depend on >=KF-5.56 (diff)
downloadgentoo-ac3cc855859bc57c8ae5f67fe52b8f24ad816f50.tar.gz
gentoo-ac3cc855859bc57c8ae5f67fe52b8f24ad816f50.tar.bz2
gentoo-ac3cc855859bc57c8ae5f67fe52b8f24ad816f50.zip
kde5.eclass: Qt 5.12 is changing qch doc location
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass7
1 files 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