commit:     788e9a06f693cf3475944eaf760be8ae9eb46382
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 13:58:56 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Aug  3 13:58:56 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=788e9a06

[eclass] Do not compress handbooks.

Otherwise, khelpcenter can't find them.

 eclass/kde5.eclass | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index affd1c6..3db6402 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -533,6 +533,12 @@ kde5_src_install() {
        fi
 
        cmake-utils_src_install
+
+       # We don't want ${PREFIX}/share/doc/HTML to be compressed,
+       # because then khelpcenter can't find the docs
+       if [[ -d ${ED}/${PREFIX}/share/doc/HTML ]]; then
+               docompress -x ${PREFIX}/share/doc/HTML
+       fi
 }
 
 # @FUNCTION: kde5_pkg_preinst

Reply via email to