diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-06-30 19:26:21 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-07-03 18:08:35 +0200 |
commit | 4cd5b18679a3e4bcb1049c4213fca6570639851a (patch) | |
tree | 71f843b8800bb1f230a322b821eeccf80c616a58 /eclass/kde4-base.eclass | |
parent | app-office/calligra-l10n: Migrate to L10N (diff) | |
download | gentoo-4cd5b18679a3e4bcb1049c4213fca6570639851a.tar.gz gentoo-4cd5b18679a3e4bcb1049c4213fca6570639851a.tar.bz2 gentoo-4cd5b18679a3e4bcb1049c4213fca6570639851a.zip |
kde4-*.eclass: Migrate to L10N flags
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r-- | eclass/kde4-base.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index b6ee447c9aec..6f71dea72153 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -333,13 +333,13 @@ fi # add a dependency over kde4-l10n if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} ]]; then - for _lingua in ${KDE_LINGUAS}; do + for _lingua in $(kde4_lingua_to_l10n ${KDE_LINGUAS}); do # if our package has linguas, pull in kde4-l10n with selected lingua enabled, # but only for selected ones. # this can't be done on one line because if user doesn't use any localisation # then he is probably not interested in kde4-l10n at all. kderdepend+=" - linguas_${_lingua}? ( $(add_kdeapps_dep kde4-l10n "linguas_${_lingua}(+)") ) + l10n_${_lingua}? ( $(add_kdeapps_dep kde4-l10n "l10n_${_lingua}(+)") ) " done unset _lingua |