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