From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/kapow/
Date: Mon, 8 Jan 2018 18:11:20 +0000 (UTC) [thread overview]
Message-ID: <1515435071.b6c35038523e72d1dc5e052dba06448370271aae.ulm@gentoo> (raw)
commit: b6c35038523e72d1dc5e052dba06448370271aae
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 8 18:00:35 2018 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 8 18:11:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c35038
x11-misc/kapow: Migrate from LINGUAS to L10N.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
x11-misc/kapow/kapow-1.5.5.ebuild | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/x11-misc/kapow/kapow-1.5.5.ebuild b/x11-misc/kapow/kapow-1.5.5.ebuild
index 9447fce7694..00138613950 100644
--- a/x11-misc/kapow/kapow-1.5.5.ebuild
+++ b/x11-misc/kapow/kapow-1.5.5.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
@@ -23,11 +23,11 @@ DEPEND="
${RDEPEND}
dev-qt/linguist-tools:5
"
-K_LINGUAS="
+K_LANGS="
ar bg cs da de el en es fr it lt nl no pl pt_BR ro ru sv tr uk
"
-for K_LINGUA in ${K_LINGUAS}; do
- IUSE+=" linguas_${K_LINGUA}"
+for K_LANG in ${K_LANGS}; do
+ IUSE+=" l10n_${K_LANG/_/-}"
done
DOCS=( ChangeLog README )
@@ -35,20 +35,18 @@ src_prepare() {
default
count() { echo ${#}; }
- local lingua_count=$(count ${K_LINGUAS})
+ local lang_count=$(count ${K_LANGS})
local locale_count=$(count translations/${PN}_*.ts)
- [[ ${lingua_count} = ${locale_count} ]] \
- || die "Number of LINGUAS does not match number of locales"
+ [[ ${lang_count} = ${locale_count} ]] \
+ || die "Number of LANGS does not match number of locales"
unset count
- local lingua
- if [[ -n "${LINGUAS}" ]]; then
- for lingua in ${K_LINGUAS}; do
- if ! use linguas_${lingua}; then
- rm translations/${PN}_${lingua}.* || die
- fi
- done
- fi
+ local lang
+ for lang in ${K_LANGS}; do
+ if ! use l10n_${lang/_/-}; then
+ rm translations/${PN}_${lang}.* || die
+ fi
+ done
}
src_configure() {
next reply other threads:[~2018-01-09 2:03 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-08 18:11 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-05 10:31 [gentoo-commits] repo/gentoo:master commit in: x11-misc/kapow/ Sam James
2025-02-17 16:47 Andreas Sturmlechner
2025-02-17 16:47 Andreas Sturmlechner
2025-02-17 16:47 Andreas Sturmlechner
2022-07-27 8:43 Andreas Sturmlechner
2020-05-21 19:46 Andreas Sturmlechner
2020-04-23 7:26 Jeroen Roovers
2019-08-08 7:00 Jeroen Roovers
2019-08-08 7:00 Jeroen Roovers
2018-07-24 8:52 Jeroen Roovers
2018-07-24 8:52 Jeroen Roovers
2018-06-27 6:41 Jeroen Roovers
2018-06-27 6:41 Jeroen Roovers
2018-06-03 13:33 Jeroen Roovers
2018-06-03 13:33 Jeroen Roovers
2017-12-29 16:19 Jeroen Roovers
2017-12-29 16:00 Jeroen Roovers
2017-12-29 16:00 Jeroen Roovers
2017-12-29 16:00 Jeroen Roovers
2017-10-29 16:58 Jeroen Roovers
2017-10-29 16:58 Jeroen Roovers
2017-10-22 17:01 Patrice Clement
2017-08-09 6:56 Jeroen Roovers
2017-07-08 4:18 Michael Palimaka
2017-04-12 15:20 Jeroen Roovers
2016-11-07 7:26 Jeroen Roovers
2016-11-07 7:26 Jeroen Roovers
2016-10-14 5:46 Jeroen Roovers
2016-09-20 18:59 Jeroen Roovers
2016-09-20 18:59 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1515435071.b6c35038523e72d1dc5e052dba06448370271aae.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox