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: games-rpg/lure/
Date: Sat,  6 Jan 2018 20:51:20 +0000 (UTC)	[thread overview]
Message-ID: <1515271870.70f4b3d4707bdb6c5f97ef5c2afffce32984eda7.ulm@gentoo> (raw)

commit:     70f4b3d4707bdb6c5f97ef5c2afffce32984eda7
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 20:50:32 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 20:51:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f4b3d4

games-rpg/lure: Migrate from LINGUAS to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 games-rpg/lure/lure-1.1-r1.ebuild | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/games-rpg/lure/lure-1.1-r1.ebuild b/games-rpg/lure/lure-1.1-r1.ebuild
index 7aeff31daca..0cfadea6e17 100644
--- a/games-rpg/lure/lure-1.1-r1.ebuild
+++ b/games-rpg/lure/lure-1.1-r1.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=6
@@ -10,18 +10,18 @@ DESCRIPTION="Lure of the Temptress"
 HOMEPAGE="http://www.revolution.co.uk/_display.php?id=10"
 SRC_URI="
 	https://raw.githubusercontent.com/scummvm/scummvm/266aef932a8a052df897e4d79b4572e5d169916f/dists/engine-data/lure.dat -> lure-${DAT_PV}.dat
-	!linguas_en? ( !linguas_es? ( !linguas_fr? ( !linguas_de? ( !linguas_it?
+	!l10n_en? ( !l10n_es? ( !l10n_fr? ( !l10n_de? ( !l10n_it?
 		( mirror://sourceforge/scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) ) ) ) )
-	linguas_en? ( mirror://sourceforge/scummvm/${P}.zip  -> ${PN}-en-${PV}.zip )
-	linguas_es? ( mirror://sourceforge/scummvm/${PN}-es-${PV}.zip )
-	linguas_fr? ( mirror://sourceforge/scummvm/${PN}-fr-${PV}.zip )
-	linguas_de? ( mirror://sourceforge/scummvm/${PN}-de-${PV}.zip )
-	linguas_it? ( mirror://sourceforge/scummvm/${PN}-it-${PV}.zip )"
+	l10n_en? ( mirror://sourceforge/scummvm/${P}.zip  -> ${PN}-en-${PV}.zip )
+	l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-${PV}.zip )
+	l10n_fr? ( mirror://sourceforge/scummvm/${PN}-fr-${PV}.zip )
+	l10n_de? ( mirror://sourceforge/scummvm/${PN}-de-${PV}.zip )
+	l10n_it? ( mirror://sourceforge/scummvm/${PN}-it-${PV}.zip )"
 
 LICENSE="lure"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-LANGS_IUSE="linguas_en linguas_es linguas_de linguas_fr linguas_it"
+LANGS_IUSE="l10n_en l10n_es l10n_de l10n_fr l10n_it"
 IUSE=${LANGS_IUSE}
 RESTRICT="mirror"
 
@@ -31,17 +31,17 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}
 
-any_linguas() {
-	use linguas_en || use linguas_es || use linguas_de || use linguas_fr || use linguas_it
+any_l10n() {
+	use l10n_en || use l10n_es || use l10n_de || use l10n_fr || use l10n_it
 }
 
 src_unpack() {
 	local lang
 
-	if any_linguas ; then
+	if any_l10n ; then
 		for lang in ${LANGS_IUSE}
 		do
-			use ${lang} && unpack ${PN}-${lang/linguas_}-${PV}.zip
+			use ${lang} && unpack ${PN}-${lang/l10n_}-${PV}.zip
 		done
 		mv lure lure-en 2> /dev/null
 	else
@@ -60,11 +60,11 @@ src_prepare() {
 		-o -iname LICENSE.txt \) \
 		-exec rm -f '{}' +
 	mkdir docs
-	if any_linguas ; then
+	if any_l10n ; then
 		for lang in ${LANGS_IUSE}
 		do
 			mkdir docs/${lang}
-			find lure-${lang/linguas_} \
+			find lure-${lang/l10n_} \
 				\( -iname "*pdf" \
 				-o -iname README \
 				-o -iname "*txt" \) \
@@ -86,18 +86,18 @@ src_prepare() {
 src_install() {
 	local lang
 
-	if any_linguas ; then
+	if any_l10n ; then
 		for lang in ${LANGS_IUSE}
 		do
 			if use ${lang} ; then
-				lang=${lang/linguas_}
+				lang=${lang/l10n_}
 				insinto "/usr/share/${PN}-${lang}"
 				newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat
 				doins -r ${PN}-${lang}/*
 				make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"/usr/share/${PN}-${lang}\" lure" .
 				make_desktop_entry ${PN}-${lang} "Lure of the Temptress (${lang})" ${PN}
-				docinto linguas_${lang}
-				dodoc docs/linguas_${lang}/*
+				docinto l10n_${lang}
+				dodoc docs/l10n_${lang}/*
 			fi
 		done
 	else


             reply	other threads:[~2018-01-06 20:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-06 20:51 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-27 18:21 [gentoo-commits] repo/gentoo:master commit in: games-rpg/lure/ Ionen Wolkens
2017-09-05 23:50 Austin English

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=1515271870.70f4b3d4707bdb6c5f97ef5c2afffce32984eda7.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