From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 120111381F1 for ; Sun, 7 Jan 2018 13:59:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 024F2E087A; Sun, 7 Jan 2018 13:59:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D61FBE087A for ; Sun, 7 Jan 2018 13:59:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D98E2335C07 for ; Sun, 7 Jan 2018 13:59:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 606301D for ; Sun, 7 Jan 2018 13:59:25 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1515333550.c63b22418e8d6b7dd82b99595276b3f4e25d79bd.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/dcraw/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/dcraw/dcraw-9.27.0.ebuild X-VCS-Directories: media-gfx/dcraw/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c63b22418e8d6b7dd82b99595276b3f4e25d79bd X-VCS-Branch: master Date: Sun, 7 Jan 2018 13:59:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 07d6fcbb-24ac-4b54-8bb7-9db7168e7f25 X-Archives-Hash: 2b10b68a8066b586d27967b67ad1c7b3 commit: c63b22418e8d6b7dd82b99595276b3f4e25d79bd Author: Ulrich Müller gentoo org> AuthorDate: Sun Jan 7 13:59:10 2018 +0000 Commit: Ulrich Müller gentoo 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"