commit: ac3cc855859bc57c8ae5f67fe52b8f24ad816f50
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 31 22:34:49 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 16:24:52 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3cc855
kde5.eclass: Qt 5.12 is changing qch doc location
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/kde5.eclass | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 176eb1337c7..d7b5eb7f15e 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