public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/dcraw/
Date: Sun,  7 Jan 2018 13:59:25 +0000 (UTC)	[thread overview]
Message-ID: <1515333550.c63b22418e8d6b7dd82b99595276b3f4e25d79bd.ulm@gentoo> (raw)

commit:     c63b22418e8d6b7dd82b99595276b3f4e25d79bd
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 13:59:10 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 13:59:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63b2241

media-gfx/dcraw: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/dcraw/dcraw-9.27.0.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-gfx/dcraw/dcraw-9.27.0.ebuild b/media-gfx/dcraw/dcraw-9.27.0.ebuild
index 75b8edc043d..7ff23c20d06 100644
--- a/media-gfx/dcraw/dcraw-9.27.0.ebuild
+++ b/media-gfx/dcraw/dcraw-9.27.0.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=5
@@ -14,7 +14,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
 LANGS=" ca cs de da eo es fr hu it nl pl pt ru sv zh_CN zh_TW"
-IUSE="nls gimp jpeg jpeg2k lcms ${LANGS// / linguas_}"
+IUSE="nls gimp jpeg jpeg2k lcms"
 
 COMMON_DEPEND="
 	jpeg? ( virtual/jpeg:0 )
@@ -76,7 +76,8 @@ src_compile() {
 
 	if use nls; then
 		for lang in ${LANGS}; do
-			use linguas_${lang} && run_build msgfmt -c -o dcraw_${lang}.mo dcraw_${lang}.po
+			has ${lang} ${LINGUAS-${lang}} \
+				&& run_build msgfmt -c -o dcraw_${lang}.mo dcraw_${lang}.po
 		done
 	fi
 }
@@ -96,7 +97,7 @@ src_install() {
 
 	if use nls; then
 		for lang in ${LANGS}; do
-			if use linguas_${lang}; then
+			if has ${lang} ${LINGUAS-${lang}}; then
 				[[ -f dcraw.${lang}.1 ]] && doman dcraw.${lang}.1
 				insinto /usr/share/locale/${lang}/LC_MESSAGES
 				newins dcraw_${lang}.mo dcraw.mo || die "failed to install dcraw_${lang}.mo"


             reply	other threads:[~2018-01-07 13:59 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 13:59 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-07 12:42 [gentoo-commits] repo/gentoo:master commit in: media-gfx/dcraw/ Arthur Zamarin
2024-01-07  6:49 Joonas Niilola
2024-01-07  6:48 Joonas Niilola
2024-01-07  6:28 Sam James
2021-04-13  0:26 Sam James
2020-11-08 12:02 Sam James
2020-07-23  5:15 Kent Fredric
2019-08-28  8:19 David Seifert
2019-07-04  3:27 Tim Harder
2019-06-05  7:12 Agostino Sarubbo
2019-05-20 17:22 Aaron Bauman
2019-05-11 12:10 Mikle Kolyada
2019-05-08 19:21 Mikle Kolyada
2019-05-07 21:47 Matt Turner
2019-05-03  7:11 Sergei Trofimovich
2019-04-28 13:03 Sergei Trofimovich
2019-04-27 20:50 Sergei Trofimovich
2019-04-26 20:35 Sergei Trofimovich
2019-04-25 22:32 Pacho Ramos
2019-04-11 14:09 Pacho Ramos
2019-04-11 13:56 Pacho Ramos
2019-03-10 21:09 Aaron Bauman
2019-01-30 13:20 Tobias Klausmann
2018-12-09 23:51 Thomas Deutschmann
2018-12-08 11:56 Mikle Kolyada
2018-12-08  9:44 Sergei Trofimovich
2018-12-08  9:36 Sergei Trofimovich
2018-12-05 20:02 Sergei Trofimovich
2018-12-04 11:56 Agostino Sarubbo
2018-12-01 15:05 Sergei Trofimovich
2018-07-01  4:45 Tim Harder
2017-08-31 12:02 Tim Harder
2017-01-17 17:08 Markus Meier
2017-01-17 14:24 Agostino Sarubbo
2017-01-14 12:32 Jeroen Roovers
2017-01-11 10:35 Agostino Sarubbo
2017-01-03 10:38 Agostino Sarubbo
2016-11-29 17:32 Markus Meier
2016-11-25 18:54 Agostino Sarubbo
2016-11-25 18:27 Agostino Sarubbo
2016-11-23 17:59 Tobias Klausmann
2016-11-12 23:37 David Seifert
2016-05-24  4:36 Tim Harder

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=1515333550.c63b22418e8d6b7dd82b99595276b3f4e25d79bd.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