Skip to content

Commit

Permalink
app-doc/kicad-doc: 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 25, 2016
1 parent f87ba8e commit 8650629
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app-doc/kicad-doc/kicad-doc-4.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ KEYWORDS="~amd64"
IUSE="html pdf"
LANGS="en fr it ja nl pl"
for lang in ${LANGS}; do
IUSE+=" linguas_${lang}"
IUSE+=" l10n_${lang}"
done

DEPEND=">=app-text/asciidoc-8.6.9
Expand All @@ -25,7 +25,7 @@ DEPEND=">=app-text/asciidoc-8.6.9
>=sys-devel/gettext-0.18
dev-util/source-highlight
dev-perl/Unicode-LineBreak
linguas_ja? ( media-fonts/vlgothic )"
l10n_ja? ( media-fonts/vlgothic )"
RDEPEND=""

src_prepare() {
Expand All @@ -49,7 +49,7 @@ src_configure() {

# find out which language is requested
for lang in ${LANGS}; do
if use linguas_${lang}; then
if use l10n_${lang}; then
if [[ -z ${doclang} ]]; then
doclang="${lang}"
else
Expand Down
6 changes: 3 additions & 3 deletions app-doc/kicad-doc/kicad-doc-4.0.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ KEYWORDS="~amd64"
IUSE="html pdf"
LANGS="en fr it ja nl pl"
for lang in ${LANGS}; do
IUSE+=" linguas_${lang}"
IUSE+=" l10n_${lang}"
done

DEPEND=">=app-text/asciidoc-8.6.9
Expand All @@ -25,7 +25,7 @@ DEPEND=">=app-text/asciidoc-8.6.9
>=sys-devel/gettext-0.18
dev-util/source-highlight
dev-perl/Unicode-LineBreak
linguas_ja? ( media-fonts/vlgothic )"
l10n_ja? ( media-fonts/vlgothic )"
RDEPEND=""

src_prepare() {
Expand All @@ -49,7 +49,7 @@ src_configure() {

# find out which language is requested
for lang in ${LANGS}; do
if use linguas_${lang}; then
if use l10n_${lang}; then
if [[ -z ${doclang} ]]; then
doclang="${lang}"
else
Expand Down

0 comments on commit 8650629

Please sign in to comment.