Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/mplus-outline-fonts/
Date: Sun, 27 Nov 2016 07:45:49
Message-Id: 1480232713.8fe63cc7a61810e2738e0b1c65d2d18c8e4268b2.hattya@gentoo
1 commit: 8fe63cc7a61810e2738e0b1c65d2d18c8e4268b2
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 27 07:45:13 2016 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 27 07:45:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe63cc7
7
8 media-fonts/mplus-outline-fonts: new upstream release
9
10 Package-Manager: portage-2.3.0
11
12 media-fonts/mplus-outline-fonts/Manifest | 1 +
13 .../mplus-outline-fonts-0_pre062.ebuild | 46 ++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/media-fonts/mplus-outline-fonts/Manifest b/media-fonts/mplus-outline-fonts/Manifest
17 index e2ac1de..ddec3be 100644
18 --- a/media-fonts/mplus-outline-fonts/Manifest
19 +++ b/media-fonts/mplus-outline-fonts/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mplus-TESTFLIGHT-059.tar.xz 9626000 SHA256 7862e113e04986646117267c4baee30aea163d43a382c14693f15287f16bbf25 SHA512 2e46a92b2132590488341b314dea94c8c6ca40bf032bab7ebb5bf06bfd789be47be4596f42a6a5e0815cca374279c781ff3a1b2eff485c17f0f07677f1e620b8 WHIRLPOOL 2c773837ae657c239d1859a471df5e757b33034b3c577b307ba03f536e787ba7ea0b7da7ed9d706a09041af2d146a8c5dc7d1e6bb5fc4240f81885feb648f034
22 DIST mplus-TESTFLIGHT-061.tar.xz 9995208 SHA256 0f8983267ae274b5c47d17db4aca193dfce3558c6561aa6e95c9212f68313bfb SHA512 108688ecc4c00cfe65156a80b1b784526d45d7261a8a203924abf7589e8e771d670de128d4ff306d3a07a2eacd548867311bf5d73b3bb56a731791eabb6ff16f WHIRLPOOL 46550c87a4d335cf384e14a8ed40f1b76efcffb9509a85c52aed203b665d1cc8e01fd38434aaf582128ec55ceff03cf103880c9c6860e338f1338cd353e0d923
23 +DIST mplus-TESTFLIGHT-062.tar.xz 10173592 SHA256 0ac2b66f814129dcf327061944b6b409b6dae9e22f94f1a383d216556ddd84b8 SHA512 c8c4a9419423c9e98a64e344db7bcbc3b2d6b1ef08219a445acc18a6c5d39bdf3216a827c20ed41b25368e792986937623de31579a9ece5109954db7f0dd6d9c WHIRLPOOL 6aa3ce6741a05583c744a099eaeb6549a33d77f238ff910911d60534bc28e986898a38d9a9bbafe848bdf430b7aa257f31bdfef3db5bdc3f31eeb90b0728baef
24
25 diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre062.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre062.ebuild
26 new file mode 100644
27 index 00000000..a270da4
28 --- /dev/null
29 +++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre062.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="6"
36 +
37 +inherit font
38 +
39 +MY_P="mplus-${PV/0_pre/TESTFLIGHT-}"
40 +
41 +DESCRIPTION="M+ Japanese outline fonts"
42 +HOMEPAGE="http://mplus-fonts.osdn.jp/ http://ossipedia.ipa.go.jp/ipafont/"
43 +SRC_URI="mirror://sourceforge.jp/mplus-fonts/62344/${MY_P}.tar.xz"
44 +
45 +LICENSE="mplus-fonts ipafont? ( IPAfont )"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86 ~ppc-macos ~x86-macos"
48 +IUSE="ipafont"
49 +RESTRICT="binchecks strip"
50 +
51 +DEPEND="ipafont? (
52 + media-gfx/fontforge
53 + media-fonts/ja-ipafonts
54 + )"
55 +RDEPEND=""
56 +S="${WORKDIR}/${MY_P}"
57 +
58 +FONT_SUFFIX="ttf"
59 +FONT_S="${S}"
60 +DOCS="README_J README_E"
61 +
62 +IPAFONT_DIR="${EPREFIX}/usr/share/fonts/ja-ipafonts"
63 +
64 +src_prepare() {
65 + if use ipafont; then
66 + cp -p "${IPAFONT_DIR}"/ipag.ttf "${S}" || die
67 + fi
68 + default
69 +}
70 +
71 +src_compile() {
72 + if use ipafont; then
73 + fontforge -script m++ipa.pe || die
74 + rm -f ipag.ttf
75 + fi
76 +}