Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Wed, 14 Aug 2019 14:43:49
Message-Id: 1565793490.27a2d94179e245fc0e277a9c7d344d2d59e203a7.asturm@gentoo
commit:     27a2d94179e245fc0e277a9c7d344d2d59e203a7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 14:38:10 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:38:10 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=27a2d941

kde5.eclass: Drop obsolete QCH workaround for <Qt-5.12

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/kde5.eclass | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index d98499788e..5faf4ebc75 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -693,17 +693,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