Skip to content

Commit

Permalink
games-rpg/drascula: Migrate from LINGUAS to L10N.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
ulm committed Jun 26, 2016
1 parent 5814f48 commit 7276e13
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions games-rpg/drascula/drascula-1.0-r2.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -14,15 +14,15 @@ HOMEPAGE="http://www.alcachofasoft.com/"
SRC_URI="mirror://sourceforge/scummvm/drascula-${PV}.zip
https://github.com/scummvm/scummvm/raw/v1.5.0/dists/engine-data/drascula.dat -> drascula-${DAT_PV}.dat
sound? ( mirror://sourceforge/scummvm/drascula-audio-${AUD_PV}.zip )
linguas_es? ( ${INT_URI} )
linguas_de? ( ${INT_URI} )
linguas_fr? ( ${INT_URI} )
linguas_it? ( ${INT_URI} )"
l10n_es? ( ${INT_URI} )
l10n_de? ( ${INT_URI} )
l10n_fr? ( ${INT_URI} )
l10n_it? ( ${INT_URI} )"

LICENSE="drascula"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="linguas_es linguas_de linguas_fr linguas_it +sound"
IUSE="l10n_es l10n_de l10n_fr l10n_it +sound"
RESTRICT="mirror"

RDEPEND=">=games-engines/scummvm-0.13.1"
Expand All @@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}

src_unpack() {
if use linguas_es || use linguas_de || use linguas_fr || use linguas_it; then
if use l10n_es || use l10n_de || use l10n_fr || use l10n_it; then
unpack drascula-int-${INT_PV}.zip
fi
if use sound; then
Expand All @@ -47,7 +47,7 @@ src_install() {
games_make_wrapper ${PN} "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
for lang in es de fr it
do
if use linguas_${lang} ; then
if use l10n_${lang} ; then
games_make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
make_desktop_entry ${PN}-${lang} "Drascula: The Vampire Strikes Back (${lang})" ${PN}
fi
Expand Down

0 comments on commit 7276e13

Please sign in to comment.