Skip to content

Commit

Permalink
app-cdr/dvdisaster: 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 Jul 3, 2016
1 parent aa67130 commit 2c8200b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -14,9 +14,9 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="debug nls"

dvdi_langs="cs de it pt_BR ru sv"
dvdi_langs="cs de it pt-BR ru sv"
for dvdi_lang in ${dvdi_langs}; do
IUSE+=" linguas_${dvdi_lang}"
IUSE+=" l10n_${dvdi_lang}"
done
unset dvdi_lang

Expand Down Expand Up @@ -65,10 +65,10 @@ src_install() {

local dvdi_lang
for dvdi_lang in ${dvdi_langs}; do
use linguas_${dvdi_lang} || rm -rf \
${dest}/doc/${PF}/${dvdi_lang} \
${dest}/doc/${PF}/CREDITS.${dvdi_lang} \
${dest}/man/${dvdi_lang}
use l10n_${dvdi_lang} || rm -rf \
${dest}/doc/${PF}/${dvdi_lang/-/_} \
${dest}/doc/${PF}/CREDITS.${dvdi_lang/-/_} \
${dest}/man/${dvdi_lang/-/_}
done

rm -f "${ED}"/usr/bin/*-uninstall.sh
Expand Down
12 changes: 6 additions & 6 deletions app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug nls"

dvdi_langs="cs de it pt_BR ru sv"
dvdi_langs="cs de it pt-BR ru sv"
for dvdi_lang in ${dvdi_langs}; do
IUSE+=" linguas_${dvdi_lang}"
IUSE+=" l10n_${dvdi_lang}"
done
unset dvdi_lang

Expand Down Expand Up @@ -62,10 +62,10 @@ src_install() {

local dvdi_lang
for dvdi_lang in ${dvdi_langs}; do
use linguas_${dvdi_lang} || rm -rf \
${dest}/doc/${PF}/${dvdi_lang} \
${dest}/doc/${PF}/CREDITS.${dvdi_lang} \
${dest}/man/${dvdi_lang}
use l10n_${dvdi_lang} || rm -rf \
${dest}/doc/${PF}/${dvdi_lang/-/_} \
${dest}/doc/${PF}/CREDITS.${dvdi_lang/-/_} \
${dest}/man/${dvdi_lang/-/_}
done

rm -f "${D}"usr/bin/*-uninstall.sh
Expand Down

0 comments on commit 2c8200b

Please sign in to comment.