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 6255E138330 for ; Sun, 7 Jan 2018 12:03:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38ACDE08CA; Sun, 7 Jan 2018 12:03:51 +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 0869CE08CA for ; Sun, 7 Jan 2018 12:03:51 +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 C1980335CD4 for ; Sun, 7 Jan 2018 12:03:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E8D01A1 for ; Sun, 7 Jan 2018 12:03:48 +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: <1515326614.4bc3b3cadeda447f31c1c1d6419910e77d4f614f.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-core-sounds/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.21-r1.ebuild net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.22.ebuild X-VCS-Directories: net-misc/asterisk-core-sounds/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4bc3b3cadeda447f31c1c1d6419910e77d4f614f X-VCS-Branch: master Date: Sun, 7 Jan 2018 12:03:48 +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: 6b6fa9d6-7aa2-4ff5-af0f-51bc869072be X-Archives-Hash: d0200f0e2455ddb6f383a283d003907a commit: 4bc3b3cadeda447f31c1c1d6419910e77d4f614f Author: Ulrich Müller gentoo org> AuthorDate: Sun Jan 7 11:57:51 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Jan 7 12:03:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc3b3ca net-misc/asterisk-core-sounds: Migrate from LINGUAS to L10N. Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../asterisk-core-sounds-1.4.21-r1.ebuild | 12 ++++++------ .../asterisk-core-sounds/asterisk-core-sounds-1.4.22.ebuild | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.21-r1.ebuild b/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.21-r1.ebuild index 975f4c9cc50..a748f38a57b 100644 --- a/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.21-r1.ebuild +++ b/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.21-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="4" DESCRIPTION="Core sounds for asterisk" HOMEPAGE="http://www.asterisk.org/" -LINGUAS="^en fr es ru" # ^ is used to indicate to the loops below to NOT set this as an optional +MY_L10N="^en fr es ru" # ^ is used to indicate to the loops below to NOT set this as an optional CODECS="alaw g722 g729 +gsm siren7 siren14 sln16 ulaw wav" SRC_URI="" @@ -13,8 +13,8 @@ IUSE="" for c in ${CODECS}; do [[ "${c}" != +* ]] && IUSE+=" ${c}" done -for l in ${LINGUAS}; do - [[ "${l}" != ^* ]] && IUSE+=" linguas_${l}" && SRC_URI+=" linguas_${l}? (" +for l in ${MY_L10N}; do + [[ "${l}" != ^* ]] && IUSE+=" l10n_${l}" && SRC_URI+=" l10n_${l}? (" for c in ${CODECS}; do [[ "${c}" != +* ]] && SRC_URI+=" ${c#+}? ( http://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${l#^}-${c#+}-${PV}.tar.gz )" || @@ -47,8 +47,8 @@ src_unpack() { } src_install() { - for l in ${LINGUAS}; do - if [[ "${l}" = ^* ]] || use linguas_${l}; then + for l in ${MY_L10N}; do + if [[ "${l}" = ^* ]] || use l10n_${l}; then l="${l#^}" ebegin "Installing documentation for \"${l}\"" dodoc ${l}/CHANGES-${PN%-sounds}-${l}-${PV} ${l}/${PN#asterisk-}-${l}.txt diff --git a/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.22.ebuild b/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.22.ebuild index 23d28f91884..ce1d059fd25 100644 --- a/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.22.ebuild +++ b/net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.22.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="4" DESCRIPTION="Core sounds for asterisk" HOMEPAGE="http://www.asterisk.org/" -LINGUAS="^en fr es ru" # ^ is used to indicate to the loops below to NOT set this as an optional +MY_L10N="^en fr es ru" # ^ is used to indicate to the loops below to NOT set this as an optional CODECS="alaw g722 g729 +gsm siren7 siren14 sln16 ulaw wav" SRC_URI="" @@ -13,8 +13,8 @@ IUSE="" for c in ${CODECS}; do [[ "${c}" != +* ]] && IUSE+=" ${c}" done -for l in ${LINGUAS}; do - [[ "${l}" != ^* ]] && IUSE+=" linguas_${l}" && SRC_URI+=" linguas_${l}? (" +for l in ${MY_L10N}; do + [[ "${l}" != ^* ]] && IUSE+=" l10n_${l}" && SRC_URI+=" l10n_${l}? (" for c in ${CODECS}; do [[ "${c}" != +* ]] && SRC_URI+=" ${c#+}? ( http://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${l#^}-${c#+}-${PV}.tar.gz )" || @@ -47,8 +47,8 @@ src_unpack() { } src_install() { - for l in ${LINGUAS}; do - if [[ "${l}" = ^* ]] || use linguas_${l}; then + for l in ${MY_L10N}; do + if [[ "${l}" = ^* ]] || use l10n_${l}; then l="${l#^}" ebegin "Installing documentation for \"${l}\"" dodoc ${l}/CHANGES-${PN%-sounds}-${l}-${PV} ${l}/${PN#asterisk-}-${l}.txt