diff options
author | Ulrich Müller <ulm@gentoo.org> | 2016-06-25 00:02:00 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2016-06-25 00:02:29 +0200 |
commit | 4fe8c8d5c8390152e12903d95f3a930d90bd27e3 (patch) | |
tree | 0b460321a9c1a23b7aec39d2e1d48dd66951473a /app-doc | |
parent | dev-java/hamcrest-core: Clean up old. (diff) | |
download | gentoo-4fe8c8d5c8390152e12903d95f3a930d90bd27e3.tar.gz gentoo-4fe8c8d5c8390152e12903d95f3a930d90bd27e3.tar.bz2 gentoo-4fe8c8d5c8390152e12903d95f3a930d90bd27e3.zip |
app-doc/gimp-help: Migrate from LINGUAS to L10N.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/gimp-help/gimp-help-2.6.1.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app-doc/gimp-help/gimp-help-2.6.1.ebuild b/app-doc/gimp-help/gimp-help-2.6.1.ebuild index cba7234e9914..2287ea886e12 100644 --- a/app-doc/gimp-help/gimp-help-2.6.1.ebuild +++ b/app-doc/gimp-help/gimp-help-2.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -17,16 +17,16 @@ IUSE="" # Only *not* outdated translations (see, configure.ac) are listed. # On update do not forgive to check quickreference/Makefile.am for # QUICKREFERENCE_ALL_LINGUAS. LANGS should include that langs too. -LANGS="de en es fr it ja ko nl nn pl ru sv zh_CN" +LANGS="de en es fr it ja ko nl nn pl ru sv zh-CN" +# Download the english translation if no l10n_* flags are enabled. +EMPTY_L10N_SRC_URI="mirror://gimp/help/${P}-html-en.tar.bz2" for X in ${LANGS} ; do - IUSE="${IUSE} linguas_${X}" - SRC_URI="${SRC_URI} linguas_${X}? ( mirror://gimp/help/${P}-html-${X}.tar.bz2 )" - EMPTY_LINGUAS_SRC_URI="mirror://gimp/help/${P}-html-${X}.tar.bz2 ${EMPTY_LINGUAS_SRC_URI}" - EMPTY_LINGUAS_SET="!linguas_${X}? ( ${EMPTY_LINGUAS_SET} " - EMPTY_LINGUAS_BRAKETS="${EMPTY_LINGUAS_BRAKETS} )" + IUSE+=" l10n_${X}" + SRC_URI+=" l10n_${X}? ( mirror://gimp/help/${P}-html-${X/-/_}.tar.bz2 )" + EMPTY_L10N_SRC_URI="!l10n_${X}? ( ${EMPTY_L10N_SRC_URI} )" done -SRC_URI="${SRC_URI} ${EMPTY_LINGUAS_SET} ${EMPTY_LINGUAS_SRC_URI} ${EMPTY_LINGUAS_BRAKETS}" +SRC_URI="${SRC_URI} ${EMPTY_L10N_SRC_URI}" DEPEND="" RDEPEND=">=media-gfx/gimp-2.4" |