summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-04-23 20:01:13 +0200
committerJohannes Huber <johu@gentoo.org>2016-04-23 20:01:13 +0200
commit5346ebe6a84f118ca5f27de90f23c009c57f39cd (patch)
tree4b04e7b03a86dd2badce214a0948f991c8904817
parentdev-libs/libgcrypt-1.5.5-r0: add alpha keyword (diff)
downloadgentoo-5346ebe6a84f118ca5f27de90f23c009c57f39cd.tar.gz
gentoo-5346ebe6a84f118ca5f27de90f23c009c57f39cd.tar.bz2
gentoo-5346ebe6a84f118ca5f27de90f23c009c57f39cd.zip
kde5.eclass: Drop translations when nls not wanted
Gentoo-bug: 580720
-rw-r--r--eclass/kde5.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 675023b6e515..c880cee9b568 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -391,6 +391,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