kde5.eclass: Drop obsolete QCH workaround for <Qt-5.12
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 14 Aug 2019 14:38:10 +0000 (16:38 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 15 Aug 2019 13:21:24 +0000 (15:21 +0200)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/kde5.eclass

index 5a0ccca87067707a46baf0feb43400fb7731085c..5c0dbfa3f388a558d46c5a6543f05bbb91d7cab7 100644 (file)
@@ -676,17 +676,6 @@ kde5_src_install() {
 
        cmake-utils_src_install
 
-       # We don't want QCH and tags files to be compressed, because then
-       # 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 [[ ${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
                # We don't want /usr/share/doc/HTML to be compressed,
                # because then khelpcenter can't find the docs