commit: 8e26815fb992d93a2d965f66af89a579048dd598
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 17:58:26 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 17:58:26 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8e26815f
kde5.eclass: Drop translations when nls not wanted
Gentoo-bug: 580720
eclass/kde5.eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 7a01eef..8dee37b 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -465,6 +465,11 @@ kde5_src_prepare() {
fi
fi
+ # drop translations when nls is not wanted
+ if [[ -d po ]] && ! use_if_isue nls ; then
+ rm -rf po || die
+ fi
+
# enable only the requested translations
# when required
if [[ -d po ]] ; then