Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/iscan/
Date: Mon, 27 Jun 2016 16:26:10
Message-Id: 1467044714.390344153d3f0871e3160ce581373290a519a19f.ulm@gentoo
1 commit: 390344153d3f0871e3160ce581373290a519a19f
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 27 15:55:35 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 27 16:25:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39034415
7
8 media-gfx/iscan: Migrate from LINGUAS to L10N.
9
10 Package-Manager: portage-2.3.0
11
12 media-gfx/iscan/iscan-2.26.2.ebuild | 8 ++++----
13 media-gfx/iscan/iscan-2.29.1.5.ebuild | 12 ++++++------
14 media-gfx/iscan/iscan-2.30.1.1.ebuild | 12 ++++++------
15 3 files changed, 16 insertions(+), 16 deletions(-)
16
17 diff --git a/media-gfx/iscan/iscan-2.26.2.ebuild b/media-gfx/iscan/iscan-2.26.2.ebuild
18 index 4bab8ff..edf91b9 100644
19 --- a/media-gfx/iscan/iscan-2.26.2.ebuild
20 +++ b/media-gfx/iscan/iscan-2.26.2.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 +# Copyright 1999-2016 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Id$
26
27 @@ -32,7 +32,7 @@ SRC_URI="http://linux.avasys.jp/drivers/iscan/${PV}/${PN}_${PV}-${SRC_REV}.tar.g
28 LICENSE="GPL-2 AVASYS"
29 SLOT="0"
30
31 -IUSE="X gimp jpeg png tiff doc"
32 +IUSE="X gimp jpeg png tiff doc l10n_ja"
33 IUSE_LINGUAS="ar de es fr it ja ko nl pt zh_CN zh_TW"
34
35 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
36 @@ -64,7 +64,7 @@ src_prepare() {
37 local i
38
39 # convert japanese docs to UTF-8
40 - if use linguas_ja; then
41 + if use l10n_ja; then
42 for i in {NEWS,README}.ja non-free/*.ja.txt; do
43 if [ -f "${i}" ]; then
44 echo ">>> Converting ${i} to UTF-8"
45 @@ -113,7 +113,7 @@ src_install() {
46
47 # install docs
48 dodoc AUTHORS NEWS README
49 - use linguas_ja && dodoc NEWS.ja README.ja
50 + use l10n_ja && dodoc NEWS.ja README.ja
51
52 # install sane config
53 insinto /etc/sane.d
54
55 diff --git a/media-gfx/iscan/iscan-2.29.1.5.ebuild b/media-gfx/iscan/iscan-2.29.1.5.ebuild
56 index 08f246d..4134dba 100644
57 --- a/media-gfx/iscan/iscan-2.29.1.5.ebuild
58 +++ b/media-gfx/iscan/iscan-2.29.1.5.ebuild
59 @@ -1,4 +1,4 @@
60 -# Copyright 1999-2014 Gentoo Foundation
61 +# Copyright 1999-2016 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 # $Id$
64
65 @@ -31,12 +31,12 @@ DESCRIPTION="EPSON Image Scan! for Linux (including sane-epkowa backend)"
66 HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
67 SRC_URI="https://dev.gentoo.org/~flameeyes/avasys/${PN}_${MY_PVR}.tar.gz
68 doc? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_e.pdf
69 - linguas_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
70 + l10n_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
71 )"
72 LICENSE="GPL-2 AVASYS"
73 SLOT="0"
74
75 -IUSE="X gimp jpeg png tiff doc"
76 +IUSE="X gimp jpeg png tiff doc l10n_ja"
77 IUSE_LINGUAS="ar de es fr it ja ko nl pt zh_CN zh_TW"
78
79 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
80 @@ -70,7 +70,7 @@ src_prepare() {
81 local i
82
83 # convert japanese docs to UTF-8
84 - if use linguas_ja; then
85 + if use l10n_ja; then
86 for i in {NEWS,README}.ja non-free/*.ja.txt; do
87 if [ -f "${i}" ]; then
88 echo ">>> Converting ${i} to UTF-8"
89 @@ -119,7 +119,7 @@ src_install() {
90
91 # install docs
92 dodoc AUTHORS NEWS README
93 - use linguas_ja && dodoc NEWS.ja README.ja
94 + use l10n_ja && dodoc NEWS.ja README.ja
95
96 # install sane config
97 insinto /etc/sane.d
98 @@ -128,7 +128,7 @@ src_install() {
99 # install extra docs
100 if use doc; then
101 insinto /usr/share/doc/${PF}
102 - if use linguas_ja; then
103 + if use l10n_ja; then
104 doins "${DISTDIR}/${MY_DOC}_j.pdf"
105 else
106 doins "${DISTDIR}/${MY_DOC}_e.pdf"
107
108 diff --git a/media-gfx/iscan/iscan-2.30.1.1.ebuild b/media-gfx/iscan/iscan-2.30.1.1.ebuild
109 index 24861f4..2b5e22b 100644
110 --- a/media-gfx/iscan/iscan-2.30.1.1.ebuild
111 +++ b/media-gfx/iscan/iscan-2.30.1.1.ebuild
112 @@ -1,4 +1,4 @@
113 -# Copyright 1999-2015 Gentoo Foundation
114 +# Copyright 1999-2016 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 # $Id$
117
118 @@ -36,12 +36,12 @@ SRC_URI="
119 https://dev.gentoo.org/~flameeyes/avasys/${PN}_${MY_PVR}.tar.gz
120 doc? (
121 https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_e.pdf
122 - linguas_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
123 + l10n_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
124 )"
125 LICENSE="GPL-2 AVASYS"
126 SLOT="0"
127
128 -IUSE="X doc gimp jpeg png tiff"
129 +IUSE="X doc gimp jpeg png tiff l10n_ja"
130 IUSE_LINGUAS="ar de es fr it ja ko nl pt zh_CN zh_TW"
131
132 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
133 @@ -79,7 +79,7 @@ src_prepare() {
134 local i
135
136 # convert japanese docs to UTF-8
137 - if use linguas_ja; then
138 + if use l10n_ja; then
139 for i in {NEWS,README}.ja non-free/*.ja.txt; do
140 if [ -f "${i}" ]; then
141 echo ">>> Converting ${i} to UTF-8"
142 @@ -125,7 +125,7 @@ src_install() {
143
144 # install docs
145 dodoc AUTHORS NEWS README
146 - use linguas_ja && dodoc NEWS.ja README.ja
147 + use l10n_ja && dodoc NEWS.ja README.ja
148
149 # install sane config
150 insinto /etc/sane.d
151 @@ -134,7 +134,7 @@ src_install() {
152 # install extra docs
153 if use doc; then
154 insinto /usr/share/doc/${PF}
155 - if use linguas_ja; then
156 + if use l10n_ja; then
157 doins "${DISTDIR}/${MY_DOC}_j.pdf"
158 else
159 doins "${DISTDIR}/${MY_DOC}_e.pdf"