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 36FDE138330 for ; Sun, 7 Jan 2018 00:32:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 316CCE08AE; Sun, 7 Jan 2018 00:32:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 03C0AE08AE for ; Sun, 7 Jan 2018 00:32:05 +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 40F91335CC4 for ; Sun, 7 Jan 2018 00:32:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E65A1A1 for ; Sun, 7 Jan 2018 00:32:01 +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: <1515285077.fd453e376dd8a276b5c7082fe049fb73c4e60163.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/ja2-stracciatella/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/ja2-stracciatella/ja2-stracciatella-0.12.1_p7072.ebuild games-strategy/ja2-stracciatella/metadata.xml X-VCS-Directories: games-strategy/ja2-stracciatella/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: fd453e376dd8a276b5c7082fe049fb73c4e60163 X-VCS-Branch: master Date: Sun, 7 Jan 2018 00:32:01 +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: afd2e252-286f-4053-bbb4-0e01e35e7a23 X-Archives-Hash: 4080a3aeeaf7fc2731fd1209cbbb7df8 commit: fd453e376dd8a276b5c7082fe049fb73c4e60163 Author: Ulrich Müller gentoo org> AuthorDate: Sun Jan 7 00:31:17 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Jan 7 00:31:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd453e37 games-strategy/ja2-stracciatella: Migrate from LINGUAS to L10N. Add an additional "ru-gold" USE flag, selecting between russian gold and russian language versions. Closes: https://bugs.gentoo.org/583766 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../ja2-stracciatella/ja2-stracciatella-0.12.1_p7072.ebuild | 11 +++++------ games-strategy/ja2-stracciatella/metadata.xml | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/games-strategy/ja2-stracciatella/ja2-stracciatella-0.12.1_p7072.ebuild b/games-strategy/ja2-stracciatella/ja2-stracciatella-0.12.1_p7072.ebuild index ee606b9cafd..4da66d2c406 100644 --- a/games-strategy/ja2-stracciatella/ja2-stracciatella-0.12.1_p7072.ebuild +++ b/games-strategy/ja2-stracciatella/ja2-stracciatella-0.12.1_p7072.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 @@ -12,14 +12,14 @@ SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz LICENSE="SFI-SCLA" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="cdinstall editor zlib" +IUSE="cdinstall editor ru-gold zlib" DEPEND="media-libs/libsdl[X,sound,video] zlib? ( sys-libs/zlib )" RDEPEND="${DEPEND} cdinstall? ( games-strategy/ja2-stracciatella-data )" -LANGS="linguas_de +linguas_en linguas_fr linguas_it linguas_nl linguas_pl linguas_ru linguas_ru_gold" +LANGS="l10n_de +l10n_en l10n_fr l10n_it l10n_nl l10n_pl l10n_ru" IUSE="$IUSE $LANGS" REQUIRED_USE="^^ ( ${LANGS//+/} )" @@ -39,14 +39,13 @@ src_prepare() { src_compile() { local myconf - case ${LINGUAS} in + case ${L10N} in de) myconf="LNG=GERMAN" ;; nl) myconf="LNG=DUTCH" ;; fr) myconf="LNG=FRENCH" ;; it) myconf="LNG=ITALIAN" ;; pl) myconf="LNG=POLISH" ;; - ru) myconf="LNG=RUSSIAN" ;; - ru_gold) myconf="LNG=RUSSIAN_GOLD" ;; + ru) myconf="LNG=$(usex ru-gold RUSSIAN_GOLD RUSSIAN)" ;; en) myconf="LNG=ENGLISH" ;; *) die "wat" ;; esac diff --git a/games-strategy/ja2-stracciatella/metadata.xml b/games-strategy/ja2-stracciatella/metadata.xml index dd85b7c30ed..3db7ad1de98 100644 --- a/games-strategy/ja2-stracciatella/metadata.xml +++ b/games-strategy/ja2-stracciatella/metadata.xml @@ -7,6 +7,6 @@ Adds necessary file to run the editor - Support for russian gold ja2 version + Support for russian gold ja2 version