diff options
author | Akinori Hattori <hattya@gentoo.org> | 2019-09-17 23:32:51 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2019-09-17 23:32:51 +0900 |
commit | a2424a8edaa44ccfe2d4f1af4a6e9679cdc548b0 (patch) | |
tree | 59ab6a5a047d7d474b82f068a92a7890f2090141 /media-fonts/mplus-outline-fonts | |
parent | www-client/vivaldi-snapshot: Old (diff) | |
download | gentoo-a2424a8edaa44ccfe2d4f1af4a6e9679cdc548b0.tar.gz gentoo-a2424a8edaa44ccfe2d4f1af4a6e9679cdc548b0.tar.bz2 gentoo-a2424a8edaa44ccfe2d4f1af4a6e9679cdc548b0.zip |
media-fonts/mplus-outline-fonts: new upstream release
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
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_p1.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 ab41b097fc30..4717c3253b51 100644 --- a/media-fonts/mplus-outline-fonts/Manifest +++ b/media-fonts/mplus-outline-fonts/Manifest @@ -1 +1,2 @@ DIST mplus-TESTFLIGHT-063.tar.xz 10346584 BLAKE2B d053992dc6b1220361f91d9482eeea11bc32ec1989ef9b99e178f3f229c84f1d232111b7a97df195473bd957eccc973a0233da5263038e6beaf4a9ff64ff0cd7 SHA512 477b9669c14dfb10321b5986dece72fb44a2554ff6c9239ccfadf21643714984ee7fd1e42c9c7982fa17417dee0e7ef6b5d66fc7cceec05298add4ae3d9502fa +DIST mplus-TESTFLIGHT-063a.tar.xz 10371708 BLAKE2B 0821600576564bbbd5b49ac0a268502e8ab77fc11d2a37c00d1ca75097c9385c340e8aceb14633aee759a608740cd02b6eba6892cb607f464703dba7dfcd3312 SHA512 bd491a71c63679977e09cbc3aef6035022299c4330b7799a879029d4c9d3ba9fed91e8bacc0aab190035fa288173e1a056dadec001b515bb3e47e77f9ece6002 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 new file mode 100644 index 000000000000..b9b0d47f6711 --- /dev/null +++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre063_p1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit font + +MY_P="mplus-TESTFLIGHT-${PV:5:3}a" + +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 +} |