commit:     062f978cf6f0f171969c1ad89d4e25ba36680c4c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 17:37:50 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 17:37:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062f978c

app-text/ghostscript-gpl: [QA] Reapply L10N changes.

The ghostscript-gpl-9.19 version bump had reverted the previously
committed LINGUAS to L10N conversion, so apply these changes again.

Package-Manager: portage-2.3.0

 .../ghostscript-gpl/ghostscript-gpl-9.19.ebuild    | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild 
b/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
index f5a1c67..5105d48 100644
--- a/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
@@ -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$
 
@@ -21,7 +21,7 @@ SRC_URI="
 LICENSE="AGPL-3 CPL-1.0"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="cups dbus djvu gtk idn linguas_de static-libs tiff X"
+IUSE="cups dbus djvu gtk idn l10n_de static-libs tiff X"
 RESTRICT="djvu? ( bindist )"
 
 COMMON_DEPEND="
@@ -49,10 +49,10 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
        >=app-text/poppler-data-0.4.5-r1
        >=media-fonts/urw-fonts-2.4.9
-       linguas_ja? ( media-fonts/kochi-substitute )
-       linguas_ko? ( media-fonts/baekmuk-fonts )
-       linguas_zh_CN? ( media-fonts/arphicfonts )
-       linguas_zh_TW? ( media-fonts/arphicfonts )
+       l10n_ja? ( media-fonts/kochi-substitute )
+       l10n_ko? ( media-fonts/baekmuk-fonts )
+       l10n_zh-CN? ( media-fonts/arphicfonts )
+       l10n_zh-TW? ( media-fonts/arphicfonts )
        !!media-fonts/gnu-gs-fonts-std
        !!media-fonts/gnu-gs-fonts-other
        !<net-print/cups-filters-1.0.36-r2
@@ -60,9 +60,9 @@ RDEPEND="${COMMON_DEPEND}
 
 S="${WORKDIR}/${MY_P}"
 
-LANGS="ja ko zh_CN zh_TW"
+LANGS="ja ko zh-CN zh-TW"
 for X in ${LANGS} ; do
-       IUSE="${IUSE} linguas_${X}"
+       IUSE="${IUSE} l10n_${X}"
 done
 
 pkg_setup() {
@@ -225,8 +225,8 @@ src_install() {
                "${WORKDIR}/fontmaps/CIDFnmap" \
                "${WORKDIR}/fontmaps/cidfmap"
        for X in ${LANGS} ; do
-               if use linguas_${X} ; then
-                       doins "${WORKDIR}/fontmaps/cidfmap.${X}"
+               if use l10n_${X} ; then
+                       doins "${WORKDIR}/fontmaps/cidfmap.${X/-/_}"
                fi
        done
 
@@ -235,7 +235,7 @@ src_install() {
 
        use static-libs || prune_libtool_files --all
 
-       if ! use linguas_de; then
+       if ! use l10n_de; then
                rm -r "${ED}"/usr/share/man/de || die
        fi
 }

Reply via email to