1 # Copyright © 2014 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or later.
3 # There is NO WARRANTY, to the extent permitted by law.
6 PYTHON_COMPAT=( python2_7 )
8 inherit python-any-r1 font
10 SHA1=d180c0bfdd4e3911a18360b3ccacd5271441e240
12 DESCRIPTION="Variant of the M+ fonts with enlarged CJK glyphs"
13 SRC_URI="http://git.draconx.ca/gitweb/scripts.git/snapshot/$SHA1.tar.xz"
15 LICENSE="WTFPL-2 mplus-fonts IPAfont"
20 media-fonts/mplus-outline-fonts[ipafont]
21 media-gfx/fontforge[python]"
24 MPLUSDIR=$EPREFIX/usr/share/fonts/mplus-outline-fonts
30 python-any-r1_pkg_setup
35 ln -s "$MPLUSDIR"/*.ttf . || die
36 python mplus-t-gen.py || die