diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-07 18:44:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-07 18:44:07 +0000 |
commit | 5001a6c7b6da2956f5b17c695b1e0059dc7b8de5 (patch) | |
tree | 0528a53855a7ec96d20cde9edb9031aab030224c /media-gfx/valentina/valentina-0.5.0-r2.ebuild | |
parent | a8b0d35ab742f31538d515dea39716e566d533c0 (diff) |
gentoo resync : 07.01.2018
Diffstat (limited to 'media-gfx/valentina/valentina-0.5.0-r2.ebuild')
-rw-r--r-- | media-gfx/valentina/valentina-0.5.0-r2.ebuild | 63 |
1 files changed, 57 insertions, 6 deletions
diff --git a/media-gfx/valentina/valentina-0.5.0-r2.ebuild b/media-gfx/valentina/valentina-0.5.0-r2.ebuild index 3ba76fa3cd6b..9b5a7f5ea11e 100644 --- a/media-gfx/valentina/valentina-0.5.0-r2.ebuild +++ b/media-gfx/valentina/valentina-0.5.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,11 +16,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="gnome" -# en_IN not supported in Gentoo so not added here -LANGS="cs_CZ de_DE el_GR en_CA en_US es_ES fi_FI fr_FR he_IL id_ID it_IT nl_NL pt_BR ro_RO ru_RU uk_UA zh_CN" +LANGS="cs de el en en es fi fr he id it nl pt-BR ro ru uk zh-CN" for LANG in ${LANGS}; do - IUSE="${IUSE} linguas_${LANG}" + IUSE="${IUSE} l10n_${LANG}" done CDEPEND=" @@ -48,10 +47,62 @@ src_prepare() { src_configure() { local locales="" + local locale for LANG in ${LANGS}; do - if use linguas_${LANG}; then - locales="${locales} ${LANG}" + if use l10n_${LANG}; then + case ${LANG} in + "cs") + locale="cs_CZ" + ;; + "de") + locale="de_DE" + ;; + "el") + locale="el_GR" + ;; + "en") + locale="en_CA en_IN en_US" + ;; + "es") + locale="es_ES" + ;; + "fi") + locale="fi_FI" + ;; + "fr") + locale="fr_FR" + ;; + "he") + locale="he_IL" + ;; + "id") + locale="id_ID" + ;; + "it") + locale="it_IT" + ;; + "nl") + locale="nl_NL" + ;; + "pt-BR") + locale="pt_BR" + ;; + "ro") + locale="ro_RO" + ;; + "ru") + locale="ru_RU" + ;; + "uk") + locale="uk_UA" + ;; + "zh-CN") + locale="zh_CN" + ;; + esac + + locales="${locales} ${locale}" fi done |