summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-07 12:57:51 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-07 13:03:34 +0100
commit4bc3b3cadeda447f31c1c1d6419910e77d4f614f (patch)
tree58c795d17ae0cba2159ce60163bd4a08b8630b1a /net-misc/asterisk-core-sounds
parentsci-electronics/splat: Migrate from LINGUAS to L10N. (diff)
downloadgentoo-4bc3b3cadeda447f31c1c1d6419910e77d4f614f.tar.gz
gentoo-4bc3b3cadeda447f31c1c1d6419910e77d4f614f.tar.bz2
gentoo-4bc3b3cadeda447f31c1c1d6419910e77d4f614f.zip
net-misc/asterisk-core-sounds: Migrate from LINGUAS to L10N.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-misc/asterisk-core-sounds')
-rw-r--r--net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.21-r1.ebuild12
-rw-r--r--net-misc/asterisk-core-sounds/asterisk-core-sounds-1.4.22.ebuild12
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 975f4c9cc506..a748f38a57bf 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 23d28f91884a..ce1d059fd250 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