1 |
commit: 9f2252bd47ef9e0f122513e79279ac8135e983d8 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 27 12:45:23 2021 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 27 12:45:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2252bd |
7 |
|
8 |
media-fonts/jisx0213-fonts: install bold and italic faces |
9 |
|
10 |
Closes: https://bugs.gentoo.org/814770 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
13 |
|
14 |
.../jisx0213-fonts-20040425-r3.ebuild | 55 ++++++++++++++++++++++ |
15 |
1 file changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r3.ebuild b/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r3.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..6f779b1d4f1 |
20 |
--- /dev/null |
21 |
+++ b/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r3.ebuild |
22 |
@@ -0,0 +1,55 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit font font-ebdftopcf |
29 |
+ |
30 |
+DESCRIPTION="Japanese fixed fonts that cover JIS0213 charset" |
31 |
+#HOMEPAGE="http://www12.ocn.ne.jp/~imamura/jisx0213.html" |
32 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" |
33 |
+SRC_URI="mirror://gentoo/jiskan16-2004-1.bdf.gz |
34 |
+ mirror://gentoo/jiskan16-2000-1.bdf.gz |
35 |
+ mirror://gentoo/jiskan16-2000-2.bdf.gz |
36 |
+ mirror://gentoo/K14-2004-1.bdf.gz |
37 |
+ mirror://gentoo/K14-2000-1.bdf.gz |
38 |
+ mirror://gentoo/K14-2000-2.bdf.gz |
39 |
+ mirror://gentoo/K12-1.bdf.gz |
40 |
+ mirror://gentoo/K12-2.bdf.gz |
41 |
+ mirror://gentoo/A14.bdf.gz |
42 |
+ mirror://gentoo/A12.bdf.gz |
43 |
+ mirror://gentoo/jiskan24-2000-1.bdf.gz |
44 |
+ mirror://gentoo/jiskan24-2000-2.bdf.gz" |
45 |
+ |
46 |
+LICENSE="public-domain" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="" |
50 |
+RESTRICT="binchecks strip" |
51 |
+ |
52 |
+BDEPEND="media-gfx/mkbold-mkitalic" |
53 |
+S="${WORKDIR}" |
54 |
+ |
55 |
+FONT_PN="${PN/-fonts/}" |
56 |
+FONTDIR="/usr/share/fonts/${FONT_PN}" |
57 |
+ |
58 |
+src_compile() { |
59 |
+ einfo "Making bold and italic faces..." |
60 |
+ for bdf in *.bdf; do |
61 |
+ mkbold -r -L ${bdf} >${bdf%.bdf}b.bdf |
62 |
+ mkitalic ${bdf} >${bdf%.bdf}i.bdf |
63 |
+ mkbolditalic -r -L ${bdf} >${bdf%.bdf}bi.bdf |
64 |
+ done |
65 |
+ font-ebdftopcf_src_compile |
66 |
+} |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ font_pkg_postinst |
70 |
+ if use X; then |
71 |
+ elog "You need you add following line into 'Section \"Files\"' in" |
72 |
+ elog "XF86Config and reboot X Window System, to use these fonts." |
73 |
+ elog "" |
74 |
+ elog "\t FontPath \"${FONTDIR}\"" |
75 |
+ elog "" |
76 |
+ fi |
77 |
+} |