diff options
| author | Michał Górny <mgorny@gentoo.org> | 2016-07-03 18:45:57 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2016-07-03 18:45:57 +0200 |
| commit | 32512ee7aaabe65b95842536ff48a61fdfe06a94 (patch) | |
| tree | 2814a9cfc1a111a7509628c7513187eb91828381 /eclass/kde4-base.eclass | |
| parent | 6e03709bc788e66bf56e0c8aec4874d7fc0d03d7 (diff) | |
| download | kde-32512ee7aaabe65b95842536ff48a61fdfe06a94.tar.gz kde-32512ee7aaabe65b95842536ff48a61fdfe06a94.tar.bz2 kde-32512ee7aaabe65b95842536ff48a61fdfe06a94.zip | |
kde4-*.eclass: Migrate to L10N flags
Signed-off-by: Johannes Huber <johu@gentoo.org>
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 f5e2c61c094..59a19321045 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -341,13 +341,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 |
