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, 28 Jan 2018 12:08:58
Message-Id: 1517141275.eaace305a24ded37d9a4aa56416752be4b3e2e85.hattya@gentoo
1 commit: eaace305a24ded37d9a4aa56416752be4b3e2e85
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 28 12:07:55 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 28 12:07:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaace305
7
8 media-fonts/mplus-outline-fonts: new upstream release
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 media-fonts/mplus-outline-fonts/Manifest | 1 +
13 .../mplus-outline-fonts-0_pre063.ebuild | 45 ++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/media-fonts/mplus-outline-fonts/Manifest b/media-fonts/mplus-outline-fonts/Manifest
17 index 99f12fbbdc7..42e9ee90863 100644
18 --- a/media-fonts/mplus-outline-fonts/Manifest
19 +++ b/media-fonts/mplus-outline-fonts/Manifest
20 @@ -1 +1,2 @@
21 DIST mplus-TESTFLIGHT-062.tar.xz 10173592 BLAKE2B a2b202115d1b239bbbc76583261ed90d14a7ee9fba1542005fcdd995d9793fcf76352a32f4985ab6cbef60fb4e4d82c9aab030d68a78da752e1424f90c30af11 SHA512 c8c4a9419423c9e98a64e344db7bcbc3b2d6b1ef08219a445acc18a6c5d39bdf3216a827c20ed41b25368e792986937623de31579a9ece5109954db7f0dd6d9c
22 +DIST mplus-TESTFLIGHT-063.tar.xz 10346584 BLAKE2B d053992dc6b1220361f91d9482eeea11bc32ec1989ef9b99e178f3f229c84f1d232111b7a97df195473bd957eccc973a0233da5263038e6beaf4a9ff64ff0cd7 SHA512 477b9669c14dfb10321b5986dece72fb44a2554ff6c9239ccfadf21643714984ee7fd1e42c9c7982fa17417dee0e7ef6b5d66fc7cceec05298add4ae3d9502fa
23
24 diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre063.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre063.ebuild
25 new file mode 100644
26 index 00000000000..cac86555efa
27 --- /dev/null
28 +++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre063.ebuild
29 @@ -0,0 +1,45 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="6"
34 +
35 +inherit font
36 +
37 +MY_P="mplus-${PV/0_pre/TESTFLIGHT-}"
38 +
39 +DESCRIPTION="M+ Japanese outline fonts"
40 +HOMEPAGE="http://mplus-fonts.osdn.jp/ http://ossipedia.ipa.go.jp/ipafont/"
41 +SRC_URI="mirror://sourceforge.jp/mplus-fonts/62344/${MY_P}.tar.xz"
42 +
43 +LICENSE="mplus-fonts ipafont? ( IPAfont )"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86 ~ppc-macos ~x86-macos"
46 +IUSE="ipafont"
47 +RESTRICT="binchecks strip"
48 +
49 +DEPEND="ipafont? (
50 + media-gfx/fontforge
51 + media-fonts/ja-ipafonts
52 + )"
53 +RDEPEND=""
54 +S="${WORKDIR}/${MY_P}"
55 +
56 +FONT_SUFFIX="ttf"
57 +FONT_S="${S}"
58 +DOCS="README_J README_E"
59 +
60 +IPAFONT_DIR="${EPREFIX}/usr/share/fonts/ja-ipafonts"
61 +
62 +src_prepare() {
63 + if use ipafont; then
64 + cp -p "${IPAFONT_DIR}"/ipag.ttf "${S}" || die
65 + fi
66 + default
67 +}
68 +
69 +src_compile() {
70 + if use ipafont; then
71 + fontforge -script m++ipa.pe || die
72 + rm -f ipag.ttf
73 + fi
74 +}