1 |
commit: 4fe8c8d5c8390152e12903d95f3a930d90bd27e3 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 22:02:00 2016 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 22:02:29 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe8c8d5 |
7 |
|
8 |
app-doc/gimp-help: Migrate from LINGUAS to L10N. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
app-doc/gimp-help/gimp-help-2.6.1.ebuild | 16 ++++++++-------- |
13 |
1 file changed, 8 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/app-doc/gimp-help/gimp-help-2.6.1.ebuild b/app-doc/gimp-help/gimp-help-2.6.1.ebuild |
16 |
index cba7234..2287ea8 100644 |
17 |
--- a/app-doc/gimp-help/gimp-help-2.6.1.ebuild |
18 |
+++ b/app-doc/gimp-help/gimp-help-2.6.1.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2013 Gentoo Foundation |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
@@ -17,16 +17,16 @@ IUSE="" |
26 |
# Only *not* outdated translations (see, configure.ac) are listed. |
27 |
# On update do not forgive to check quickreference/Makefile.am for |
28 |
# QUICKREFERENCE_ALL_LINGUAS. LANGS should include that langs too. |
29 |
-LANGS="de en es fr it ja ko nl nn pl ru sv zh_CN" |
30 |
+LANGS="de en es fr it ja ko nl nn pl ru sv zh-CN" |
31 |
|
32 |
+# Download the english translation if no l10n_* flags are enabled. |
33 |
+EMPTY_L10N_SRC_URI="mirror://gimp/help/${P}-html-en.tar.bz2" |
34 |
for X in ${LANGS} ; do |
35 |
- IUSE="${IUSE} linguas_${X}" |
36 |
- SRC_URI="${SRC_URI} linguas_${X}? ( mirror://gimp/help/${P}-html-${X}.tar.bz2 )" |
37 |
- EMPTY_LINGUAS_SRC_URI="mirror://gimp/help/${P}-html-${X}.tar.bz2 ${EMPTY_LINGUAS_SRC_URI}" |
38 |
- EMPTY_LINGUAS_SET="!linguas_${X}? ( ${EMPTY_LINGUAS_SET} " |
39 |
- EMPTY_LINGUAS_BRAKETS="${EMPTY_LINGUAS_BRAKETS} )" |
40 |
+ IUSE+=" l10n_${X}" |
41 |
+ SRC_URI+=" l10n_${X}? ( mirror://gimp/help/${P}-html-${X/-/_}.tar.bz2 )" |
42 |
+ EMPTY_L10N_SRC_URI="!l10n_${X}? ( ${EMPTY_L10N_SRC_URI} )" |
43 |
done |
44 |
-SRC_URI="${SRC_URI} ${EMPTY_LINGUAS_SET} ${EMPTY_LINGUAS_SRC_URI} ${EMPTY_LINGUAS_BRAKETS}" |
45 |
+SRC_URI="${SRC_URI} ${EMPTY_L10N_SRC_URI}" |
46 |
|
47 |
DEPEND="" |
48 |
RDEPEND=">=media-gfx/gimp-2.4" |