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: app-text/ghostscript-gpl/
Date: Fri, 01 Jul 2016 17:38:21
Message-Id: 1467394670.062f978cf6f0f171969c1ad89d4e25ba36680c4c.ulm@gentoo
1 commit: 062f978cf6f0f171969c1ad89d4e25ba36680c4c
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 1 17:37:50 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 17:37:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062f978c
7
8 app-text/ghostscript-gpl: [QA] Reapply L10N changes.
9
10 The ghostscript-gpl-9.19 version bump had reverted the previously
11 committed LINGUAS to L10N conversion, so apply these changes again.
12
13 Package-Manager: portage-2.3.0
14
15 .../ghostscript-gpl/ghostscript-gpl-9.19.ebuild | 22 +++++++++++-----------
16 1 file changed, 11 insertions(+), 11 deletions(-)
17
18 diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
19 index f5a1c67..5105d48 100644
20 --- a/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
21 +++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 +# Copyright 1999-2016 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 # $Id$
27
28 @@ -21,7 +21,7 @@ SRC_URI="
29 LICENSE="AGPL-3 CPL-1.0"
30 SLOT="0"
31 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
32 -IUSE="cups dbus djvu gtk idn linguas_de static-libs tiff X"
33 +IUSE="cups dbus djvu gtk idn l10n_de static-libs tiff X"
34 RESTRICT="djvu? ( bindist )"
35
36 COMMON_DEPEND="
37 @@ -49,10 +49,10 @@ DEPEND="${COMMON_DEPEND}
38 RDEPEND="${COMMON_DEPEND}
39 >=app-text/poppler-data-0.4.5-r1
40 >=media-fonts/urw-fonts-2.4.9
41 - linguas_ja? ( media-fonts/kochi-substitute )
42 - linguas_ko? ( media-fonts/baekmuk-fonts )
43 - linguas_zh_CN? ( media-fonts/arphicfonts )
44 - linguas_zh_TW? ( media-fonts/arphicfonts )
45 + l10n_ja? ( media-fonts/kochi-substitute )
46 + l10n_ko? ( media-fonts/baekmuk-fonts )
47 + l10n_zh-CN? ( media-fonts/arphicfonts )
48 + l10n_zh-TW? ( media-fonts/arphicfonts )
49 !!media-fonts/gnu-gs-fonts-std
50 !!media-fonts/gnu-gs-fonts-other
51 !<net-print/cups-filters-1.0.36-r2
52 @@ -60,9 +60,9 @@ RDEPEND="${COMMON_DEPEND}
53
54 S="${WORKDIR}/${MY_P}"
55
56 -LANGS="ja ko zh_CN zh_TW"
57 +LANGS="ja ko zh-CN zh-TW"
58 for X in ${LANGS} ; do
59 - IUSE="${IUSE} linguas_${X}"
60 + IUSE="${IUSE} l10n_${X}"
61 done
62
63 pkg_setup() {
64 @@ -225,8 +225,8 @@ src_install() {
65 "${WORKDIR}/fontmaps/CIDFnmap" \
66 "${WORKDIR}/fontmaps/cidfmap"
67 for X in ${LANGS} ; do
68 - if use linguas_${X} ; then
69 - doins "${WORKDIR}/fontmaps/cidfmap.${X}"
70 + if use l10n_${X} ; then
71 + doins "${WORKDIR}/fontmaps/cidfmap.${X/-/_}"
72 fi
73 done
74
75 @@ -235,7 +235,7 @@ src_install() {
76
77 use static-libs || prune_libtool_files --all
78
79 - if ! use linguas_de; then
80 + if ! use l10n_de; then
81 rm -r "${ED}"/usr/share/man/de || die
82 fi
83 }