1 |
commit: e92658356c92d1bee109ebce19d60e7ab51269e5 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 20 21:50:21 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 20 22:10:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9265835 |
7 |
|
8 |
media-fonts/mplus-fonts: Turn into well-behaved font + EAPI 6 |
9 |
|
10 |
Lack of file /usr/share/fonts/mplus/.uuid |
11 |
causes sandbox violation issues in other packages. |
12 |
font_pkg_postinst take care of its creation now. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/665008 |
15 |
|
16 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
17 |
|
18 |
.../mplus-fonts/mplus-fonts-2.2.4-r1.ebuild | 32 ++++++++++++++++++++++ |
19 |
1 file changed, 32 insertions(+) |
20 |
|
21 |
diff --git a/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild b/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild |
22 |
new file mode 100644 |
23 |
index 00000000000..d26999296ce |
24 |
--- /dev/null |
25 |
+++ b/media-fonts/mplus-fonts/mplus-fonts-2.2.4-r1.ebuild |
26 |
@@ -0,0 +1,32 @@ |
27 |
+# Copyright 1999-2018 Gentoo Foundation |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=6 |
31 |
+FONT_PN=mplus |
32 |
+ |
33 |
+inherit font |
34 |
+ |
35 |
+MY_P="mplus_bitmap_fonts-${PV}" |
36 |
+ |
37 |
+DESCRIPTION="M+ Japanese bitmap fonts" |
38 |
+HOMEPAGE="http://mplus-fonts.sourceforge.jp/" |
39 |
+SRC_URI="mirror://sourceforge.jp/${PN}/5030/${MY_P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="mplus-fonts" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
44 |
+IUSE="X" |
45 |
+ |
46 |
+DEPEND="x11-apps/mkfontdir |
47 |
+ x11-apps/bdftopcf" |
48 |
+RDEPEND="" |
49 |
+ |
50 |
+S="${WORKDIR}/${MY_P}" |
51 |
+ |
52 |
+# Only installs fonts |
53 |
+RESTRICT="strip binchecks" |
54 |
+ |
55 |
+src_install(){ |
56 |
+ DESTDIR="${D}${FONTDIR}" ./install_mplus_fonts || die |
57 |
+ dodoc README* INSTALL* |
58 |
+} |