commit:     5b788d26cb1c605f18368ea894029a69cb6bf844
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  1 17:08:33 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Sep  1 17:41:07 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5b788d26

kde5.eclass: don't try to perform linguas operations on kde-apps handbooks.

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 28aba19..672df0d 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -461,7 +461,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

Reply via email to