kde5.eclass: don't try to perform linguas operations on kde-apps handbooks.
authorMichael Palimaka <kensington@gentoo.org>
Tue, 1 Sep 2015 17:08:33 +0000 (03:08 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Tue, 1 Sep 2015 18:04:41 +0000 (04:04 +1000)
Doing so was interfering with the handbook directory structure of some
packages, resulting in some handbooks not being installed. The operations
can be skipped completely, as all kde-apps translated handbooks are shipped
with kde-l10n.

eclass/kde5.eclass

index 81a1b9623c13dd2e1faafe7ff123e01b70452e2f..2e8f5c46c21bf30c88c03c09582a8bdd6e778a93 100644 (file)
@@ -404,7 +404,7 @@ kde5_src_prepare() {
                        popd > /dev/null
                fi
 
-               if [[ ${KDE_HANDBOOK} = true && -d ${KDE_DOC_DIR} ]] ; then
+               if [[ ${KDE_HANDBOOK} = true && -d ${KDE_DOC_DIR} && ${CATEGORY} != kde-apps ]] ; then
                        pushd ${KDE_DOC_DIR} > /dev/null
                        for lang in *; do
                                if ! has ${lang} ${LINGUAS} ; then