media-gfx/iscan-plugin-gt-f720: Drop linguas_ja flag.
authorUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 14:32:24 +0000 (15:32 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 14:33:09 +0000 (15:33 +0100)
AVASYSPL.{en,ja}.txt are copies of the "AVASYS" license, so these
files should not be installed at all.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.2.ebuild
media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild

index 369ca44f7cfaa9743df8e5a66a6707c63bee90ee..a09a64ceb97de451331346288a83b325e367246d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -18,11 +18,6 @@ LICENSE="AVASYS"
 SLOT="0"
 KEYWORDS="-* amd64 x86"
 
-IUSE=""
-IUSE_LINGUAS="ja"
-
-for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
-
 DEPEND=">=media-gfx/iscan-2.21.0"
 RDEPEND="${DEPEND}"
 
@@ -37,13 +32,6 @@ src_install() {
        insinto /usr/share/esci
        doins "${WORKDIR}/usr/share/esci/"*
 
-       # install docs
-       if use linguas_ja; then
-               dodoc usr/share/doc/*/AVASYSPL.ja.txt
-        else
-               dodoc usr/share/doc/*/AVASYSPL.en.txt
-       fi
-
        # install scanner plugins
        insinto "${MY_LIB}/esci"
        insopts -m0755
index 949f41b344506f975e307e4bea0515d991f61005..be5793af5636124f494f33495f89194402f724f3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="2"
@@ -20,11 +20,6 @@ LICENSE="AVASYS"
 SLOT="0"
 KEYWORDS="amd64 x86"
 
-IUSE=""
-IUSE_LINGUAS="ja"
-
-for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
-
 DEPEND=">=media-gfx/iscan-2.21.0"
 RDEPEND="${DEPEND}"
 
@@ -35,13 +30,6 @@ src_install() {
        insinto /usr/share/esci
        doins "${WORKDIR}/usr/share/esci/"*
 
-       # install docs
-       if use linguas_ja; then
-               dodoc "usr/share/doc/${MY_P}/AVASYSPL.ja.txt"
-        else
-               dodoc "usr/share/doc/${MY_P}/AVASYSPL.en.txt"
-       fi
-
        # install scanner plugins
        insinto "${MY_LIB}/esci"
        insopts -m0755