From fd453e376dd8a276b5c7082fe049fb73c4e60163 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sun, 7 Jan 2018 01:31:17 +0100 Subject: 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 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'games-strategy/ja2-stracciatella/ja2-stracciatella-0.12.1_p7072.ebuild') 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 ee606b9cafda..4da66d2c406f 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 -- cgit v1.2.3-65-gdbad