media-gfx/iscan: Migrate from LINGUAS to L10N.
authorUlrich Müller <ulm@gentoo.org>
Mon, 27 Jun 2016 15:55:35 +0000 (17:55 +0200)
committerUlrich Müller <ulm@gentoo.org>
Mon, 27 Jun 2016 16:25:14 +0000 (18:25 +0200)
Package-Manager: portage-2.3.0

media-gfx/iscan/iscan-2.26.2.ebuild
media-gfx/iscan/iscan-2.29.1.5.ebuild
media-gfx/iscan/iscan-2.30.1.1.ebuild

index 4bab8ffd1a238cc83fe57f48754dd821e762a8cd..edf91b9f8c336f8d38f09b2fb7cb64dde3f1e207 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -32,7 +32,7 @@ SRC_URI="http://linux.avasys.jp/drivers/iscan/${PV}/${PN}_${PV}-${SRC_REV}.tar.g
 LICENSE="GPL-2 AVASYS"
 SLOT="0"
 
-IUSE="X gimp jpeg png tiff doc"
+IUSE="X gimp jpeg png tiff doc l10n_ja"
 IUSE_LINGUAS="ar de es fr it ja ko nl pt zh_CN zh_TW"
 
 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
@@ -64,7 +64,7 @@ src_prepare() {
        local i
 
        # convert japanese docs to UTF-8
-       if use linguas_ja; then
+       if use l10n_ja; then
                for i in {NEWS,README}.ja non-free/*.ja.txt; do
                        if [ -f "${i}" ]; then
                                echo ">>> Converting ${i} to UTF-8"
@@ -113,7 +113,7 @@ src_install() {
 
        # install docs
        dodoc AUTHORS NEWS README
-       use linguas_ja && dodoc NEWS.ja README.ja
+       use l10n_ja && dodoc NEWS.ja README.ja
 
        # install sane config
        insinto /etc/sane.d
index 08f246d9d7fc0e729f1e93c3b10aecc12bcdb954..4134dbafafdb3c291adfdf37d6870595fad9126d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -31,12 +31,12 @@ DESCRIPTION="EPSON Image Scan! for Linux (including sane-epkowa backend)"
 HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
 SRC_URI="https://dev.gentoo.org/~flameeyes/avasys/${PN}_${MY_PVR}.tar.gz
        doc? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_e.pdf
-               linguas_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
+               l10n_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
        )"
 LICENSE="GPL-2 AVASYS"
 SLOT="0"
 
-IUSE="X gimp jpeg png tiff doc"
+IUSE="X gimp jpeg png tiff doc l10n_ja"
 IUSE_LINGUAS="ar de es fr it ja ko nl pt zh_CN zh_TW"
 
 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
@@ -70,7 +70,7 @@ src_prepare() {
        local i
 
        # convert japanese docs to UTF-8
-       if use linguas_ja; then
+       if use l10n_ja; then
                for i in {NEWS,README}.ja non-free/*.ja.txt; do
                        if [ -f "${i}" ]; then
                                echo ">>> Converting ${i} to UTF-8"
@@ -119,7 +119,7 @@ src_install() {
 
        # install docs
        dodoc AUTHORS NEWS README
-       use linguas_ja && dodoc NEWS.ja README.ja
+       use l10n_ja && dodoc NEWS.ja README.ja
 
        # install sane config
        insinto /etc/sane.d
@@ -128,7 +128,7 @@ src_install() {
        # install extra docs
        if use doc; then
                insinto /usr/share/doc/${PF}
-               if use linguas_ja; then
+               if use l10n_ja; then
                        doins "${DISTDIR}/${MY_DOC}_j.pdf"
                else
                        doins "${DISTDIR}/${MY_DOC}_e.pdf"
index 24861f4158c0e30402b4362c268d1624e2111ab6..2b5e22b0aef9965d671fa16bd2075ef638206c22 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -36,12 +36,12 @@ SRC_URI="
        https://dev.gentoo.org/~flameeyes/avasys/${PN}_${MY_PVR}.tar.gz
        doc? (
                https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_e.pdf
-               linguas_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
+               l10n_ja? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_DOC}_j.pdf )
        )"
 LICENSE="GPL-2 AVASYS"
 SLOT="0"
 
-IUSE="X doc gimp jpeg png tiff"
+IUSE="X doc gimp jpeg png tiff l10n_ja"
 IUSE_LINGUAS="ar de es fr it ja ko nl pt zh_CN zh_TW"
 
 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
@@ -79,7 +79,7 @@ src_prepare() {
        local i
 
        # convert japanese docs to UTF-8
-       if use linguas_ja; then
+       if use l10n_ja; then
                for i in {NEWS,README}.ja non-free/*.ja.txt; do
                        if [ -f "${i}" ]; then
                                echo ">>> Converting ${i} to UTF-8"
@@ -125,7 +125,7 @@ src_install() {
 
        # install docs
        dodoc AUTHORS NEWS README
-       use linguas_ja && dodoc NEWS.ja README.ja
+       use l10n_ja && dodoc NEWS.ja README.ja
 
        # install sane config
        insinto /etc/sane.d
@@ -134,7 +134,7 @@ src_install() {
        # install extra docs
        if use doc; then
                insinto /usr/share/doc/${PF}
-               if use linguas_ja; then
+               if use l10n_ja; then
                        doins "${DISTDIR}/${MY_DOC}_j.pdf"
                else
                        doins "${DISTDIR}/${MY_DOC}_e.pdf"