Skip to content

Commit

Permalink
kde5.eclass: Drop translations when nls not wanted
Browse files Browse the repository at this point in the history
Gentoo-bug: 580720
  • Loading branch information
johu committed Apr 23, 2016
1 parent e899bf7 commit 5346ebe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eclass/kde5.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5346ebe

Please sign in to comment.