diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-01-28 21:07:55 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-01-28 21:07:55 +0900 |
commit | eaace305a24ded37d9a4aa56416752be4b3e2e85 (patch) | |
tree | 72ae4f14815285b920a78855dc0aee2f218bc308 /media-fonts/mplus-outline-fonts | |
parent | media-fonts/mplus-outline-fonts: drop old (diff) | |
download | gentoo-eaace305a24ded37d9a4aa56416752be4b3e2e85.tar.gz gentoo-eaace305a24ded37d9a4aa56416752be4b3e2e85.tar.bz2 gentoo-eaace305a24ded37d9a4aa56416752be4b3e2e85.zip |
media-fonts/mplus-outline-fonts: new upstream release
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-fonts/mplus-outline-fonts')
-rw-r--r-- | media-fonts/mplus-outline-fonts/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre063.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/media-fonts/mplus-outline-fonts/Manifest b/media-fonts/mplus-outline-fonts/Manifest index 99f12fbbdc74..42e9ee908638 100644 --- a/media-fonts/mplus-outline-fonts/Manifest +++ b/media-fonts/mplus-outline-fonts/Manifest @@ -1 +1,2 @@ DIST mplus-TESTFLIGHT-062.tar.xz 10173592 BLAKE2B a2b202115d1b239bbbc76583261ed90d14a7ee9fba1542005fcdd995d9793fcf76352a32f4985ab6cbef60fb4e4d82c9aab030d68a78da752e1424f90c30af11 SHA512 c8c4a9419423c9e98a64e344db7bcbc3b2d6b1ef08219a445acc18a6c5d39bdf3216a827c20ed41b25368e792986937623de31579a9ece5109954db7f0dd6d9c +DIST mplus-TESTFLIGHT-063.tar.xz 10346584 BLAKE2B d053992dc6b1220361f91d9482eeea11bc32ec1989ef9b99e178f3f229c84f1d232111b7a97df195473bd957eccc973a0233da5263038e6beaf4a9ff64ff0cd7 SHA512 477b9669c14dfb10321b5986dece72fb44a2554ff6c9239ccfadf21643714984ee7fd1e42c9c7982fa17417dee0e7ef6b5d66fc7cceec05298add4ae3d9502fa 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 new file mode 100644 index 000000000000..cac86555efa7 --- /dev/null +++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre063.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit font + +MY_P="mplus-${PV/0_pre/TESTFLIGHT-}" + +DESCRIPTION="M+ Japanese outline fonts" +HOMEPAGE="http://mplus-fonts.osdn.jp/ http://ossipedia.ipa.go.jp/ipafont/" +SRC_URI="mirror://sourceforge.jp/mplus-fonts/62344/${MY_P}.tar.xz" + +LICENSE="mplus-fonts ipafont? ( IPAfont )" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86 ~ppc-macos ~x86-macos" +IUSE="ipafont" +RESTRICT="binchecks strip" + +DEPEND="ipafont? ( + media-gfx/fontforge + media-fonts/ja-ipafonts + )" +RDEPEND="" +S="${WORKDIR}/${MY_P}" + +FONT_SUFFIX="ttf" +FONT_S="${S}" +DOCS="README_J README_E" + +IPAFONT_DIR="${EPREFIX}/usr/share/fonts/ja-ipafonts" + +src_prepare() { + if use ipafont; then + cp -p "${IPAFONT_DIR}"/ipag.ttf "${S}" || die + fi + default +} + +src_compile() { + if use ipafont; then + fontforge -script m++ipa.pe || die + rm -f ipag.ttf + fi +} |