From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-996304-garchives=archives.gentoo.org@lists.gentoo.org>
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 B93DE138331
	for <garchives@archives.gentoo.org>; Mon,  8 Jan 2018 08:45:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 03DC8E0B43;
	Mon,  8 Jan 2018 08:45:36 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 C9C69E0B43
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jan 2018 08:45:35 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 E6601335CA6
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jan 2018 08:45:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E8471AB
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jan 2018 08:45:32 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
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" <ulm@gentoo.org>
Message-ID: <1515401124.7914bb2e24db18f94e9d1848a865891f577b326d.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-boot/unetbootin/unetbootin-625.ebuild sys-boot/unetbootin/unetbootin-647.ebuild sys-boot/unetbootin/unetbootin-655.ebuild sys-boot/unetbootin/unetbootin-657.ebuild
X-VCS-Directories: sys-boot/unetbootin/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 7914bb2e24db18f94e9d1848a865891f577b326d
X-VCS-Branch: master
Date: Mon,  8 Jan 2018 08:45:32 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: ec754d82-0521-4db8-aa7f-2f135228b714
X-Archives-Hash: 1a03457ff92b71fb4d106377d2a4ee28

commit:     7914bb2e24db18f94e9d1848a865891f577b326d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 08:42:09 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 08:45:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7914bb2e

sys-boot/unetbootin: Migrate from LINGUAS to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-boot/unetbootin/unetbootin-625.ebuild | 8 ++++++--
 sys-boot/unetbootin/unetbootin-647.ebuild | 8 ++++++--
 sys-boot/unetbootin/unetbootin-655.ebuild | 8 ++++++--
 sys-boot/unetbootin/unetbootin-657.ebuild | 8 ++++++--
 4 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild b/sys-boot/unetbootin/unetbootin-625.ebuild
index aabc1aa868d..49f0d802f76 100644
--- a/sys-boot/unetbootin/unetbootin-625.ebuild
+++ b/sys-boot/unetbootin/unetbootin-625.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+	IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -48,7 +52,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! has ${lingua} ${LINGUAS-${lingua}}; then
+		if ! use l10n_${lingua/_/-}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -78,7 +82,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if has ${lingua} ${LINGUAS-${lingua}}; then
+		if use l10n_${lingua/_/-}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi

diff --git a/sys-boot/unetbootin/unetbootin-647.ebuild b/sys-boot/unetbootin/unetbootin-647.ebuild
index 0371e75f2c8..a8e28b868c2 100644
--- a/sys-boot/unetbootin/unetbootin-647.ebuild
+++ b/sys-boot/unetbootin/unetbootin-647.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+	IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -47,7 +51,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! has ${lingua} ${LINGUAS-${lingua}}; then
+		if ! use l10n_${lingua/_/-}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -77,7 +81,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if has ${lingua} ${LINGUAS-${lingua}}; then
+		if use l10n_${lingua/_/-}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi

diff --git a/sys-boot/unetbootin/unetbootin-655.ebuild b/sys-boot/unetbootin/unetbootin-655.ebuild
index 1007cc620a1..f615c0100f4 100644
--- a/sys-boot/unetbootin/unetbootin-655.ebuild
+++ b/sys-boot/unetbootin/unetbootin-655.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+	IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -46,7 +50,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! has ${lingua} ${LINGUAS-${lingua}}; then
+		if ! use l10n_${lingua/_/-}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -76,7 +80,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if has ${lingua} ${LINGUAS-${lingua}}; then
+		if use l10n_${lingua/_/-}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi

diff --git a/sys-boot/unetbootin/unetbootin-657.ebuild b/sys-boot/unetbootin/unetbootin-657.ebuild
index 1007cc620a1..f615c0100f4 100644
--- a/sys-boot/unetbootin/unetbootin-657.ebuild
+++ b/sys-boot/unetbootin/unetbootin-657.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
 	zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+	IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -46,7 +50,7 @@ src_prepare() {
 	# Remove localisations
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if ! has ${lingua} ${LINGUAS-${lingua}}; then
+		if ! use l10n_${lingua/_/-}; then
 			sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
 			rm ${PN}_${lingua}.ts || die
 		fi
@@ -76,7 +80,7 @@ src_install() {
 
 	local lingua
 	for lingua in ${UNBI_LINGUAS}; do
-		if has ${lingua} ${LINGUAS-${lingua}}; then
+		if use l10n_${lingua/_/-}; then
 			insinto /usr/share/${PN}
 			doins ${PN}_${lingua}.qm
 		fi