summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-10-13 05:02:48 +1100
committerMichael Palimaka <kensington@gentoo.org>2014-10-13 05:02:48 +1100
commita9e2217aa7b8f45400f5a4867e3997a88304ad45 (patch)
treeb728d59821dcb7907da76b3d3ab4ec19fd933543
parent6ab68eec589cc9adddd8108b47a650125845d1e4 (diff)
downloadkde-a9e2217aa7b8f45400f5a4867e3997a88304ad45.tar.gz
kde-a9e2217aa7b8f45400f5a4867e3997a88304ad45.tar.bz2
kde-a9e2217aa7b8f45400f5a4867e3997a88304ad45.zip
[eclass] Remove KDE_NLS.
All it did was control adding a USE flag (which we can easily do manually in the few packages it's required) and toggle installing linguas (which is controlled anyway by LINGUAS).
-rw-r--r--eclass/kde5.eclass22
1 files changed, 1 insertions, 21 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 6c67803cff2..d513d6a6132 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -73,19 +73,6 @@ fi
# generate and install KDE handbook.
: ${KDE_HANDBOOK:=false}
-# @ECLASS-VARIABLE: KDE_NLS
-# @DESCRIPTION:
-# If set to "false", do nothing.
-# Otherwise, add "nls" to IUSE, generate and install translations based on
-# the LINGUAS environment variable.
-if [[ ${CATEGORY} = kde-frameworks ]]; then
- : ${KDE_NLS:=true}
-elif [[ ${CATEGORY} = kde-base ]]; then
- : ${KDE_NLS:=true}
-else
- : ${KDE_NLS:=false}
-fi
-
# @ECLASS-VARIABLE: KDE_TEST
# @DESCRIPTION:
# If set to "false", do nothing.
@@ -162,13 +149,6 @@ case ${KDE_HANDBOOK} in
;;
esac
-case ${KDE_NLS} in
- false) ;;
- *)
- IUSE+=" nls"
- ;;
-esac
-
case ${KDE_TEST} in
false) ;;
*)
@@ -337,7 +317,7 @@ kde5_src_prepare() {
# enable only the requested translations
# when required
- if [[ ${KDE_BUILD_TYPE} = release ]] && use_if_iuse nls ; then
+ if [[ ${KDE_BUILD_TYPE} = release ]] ; then
for lang in $(ls po) ; do
if ! has ${lang} ${LINGUAS} ; then
rm -rf po/${lang}