diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-01-07 21:53:46 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-01-07 21:54:12 +0100 |
commit | 0f80d4634696e8c46c8e6b346a30d605a1c55135 (patch) | |
tree | 52f2080eb384e511bee1f3362c3537114115839f /net-misc/electrum-ltc | |
parent | dev-libs/uriparser: remove unused patch (diff) | |
download | gentoo-0f80d4634696e8c46c8e6b346a30d605a1c55135.tar.gz gentoo-0f80d4634696e8c46c8e6b346a30d605a1c55135.tar.bz2 gentoo-0f80d4634696e8c46c8e6b346a30d605a1c55135.zip |
net-misc/electrum-ltc: Migrate from LINGUAS to L10N.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-misc/electrum-ltc')
-rw-r--r-- | net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild b/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild index 9fe4e95536d4..3158071e0931 100644 --- a/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild +++ b/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild @@ -17,13 +17,8 @@ SRC_URI="https://github.com/pooler/electrum-ltc/archive/${EGIT_COMMIT}.tar.gz -> LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -LINGUAS="es_ES ja_JP pt_BR pt_PT zh_CN" - -IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb" - -for lingua in ${LINGUAS}; do - IUSE+=" linguas_${lingua}" -done +IUSE="audio_modem cli cosign digitalbitbox email ncurses qrcode +qt5 sync vkb + l10n_es l10n_ja l10n_pt l10n_zh-CN" REQUIRED_USE=" || ( cli ncurses qt5 ) @@ -80,10 +75,10 @@ src_prepare() { local wordlist= for wordlist in \ - $(usex linguas_ja_JP '' japanese) \ - $(usex linguas_pt_BR '' $(usex linguas_pt_PT '' portuguese)) \ - $(usex linguas_es_ES '' spanish) \ - $(usex linguas_zh_CN '' chinese_simplified) \ + $(usex l10n_ja '' japanese) \ + $(usex l10n_pt '' portuguese) \ + $(usex l10n_es '' spanish) \ + $(usex l10n_zh-CN '' chinese_simplified) \ ; do rm -f "lib/wordlist/${wordlist}.txt" || die sed -i "/${wordlist}\\.txt/d" lib/mnemonic.py || die |