summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2016-05-21 15:16:13 +0900
committerAkinori Hattori <hattya@gentoo.org>2016-05-21 15:16:13 +0900
commit1e0cf2f22dda8750f33c3f2fefebd4e42c2f4930 (patch)
tree4befb2c837d2098e6dd0d253feaa945df33048ef /media-fonts
parentwww-apps/airdcpp-webui: remove old (diff)
downloadgentoo-1e0cf2f22dda8750f33c3f2fefebd4e42c2f4930.tar.gz
gentoo-1e0cf2f22dda8750f33c3f2fefebd4e42c2f4930.tar.bz2
gentoo-1e0cf2f22dda8750f33c3f2fefebd4e42c2f4930.zip
media-fonts/mplus-outline-fonts: new upstream release
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/mplus-outline-fonts/Manifest1
-rw-r--r--media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre061.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-fonts/mplus-outline-fonts/Manifest b/media-fonts/mplus-outline-fonts/Manifest
index 3f2da0e9d10c..8c2c5b4d908a 100644
--- a/media-fonts/mplus-outline-fonts/Manifest
+++ b/media-fonts/mplus-outline-fonts/Manifest
@@ -1,2 +1,3 @@
DIST mplus-TESTFLIGHT-059.tar.xz 9626000 SHA256 7862e113e04986646117267c4baee30aea163d43a382c14693f15287f16bbf25 SHA512 2e46a92b2132590488341b314dea94c8c6ca40bf032bab7ebb5bf06bfd789be47be4596f42a6a5e0815cca374279c781ff3a1b2eff485c17f0f07677f1e620b8 WHIRLPOOL 2c773837ae657c239d1859a471df5e757b33034b3c577b307ba03f536e787ba7ea0b7da7ed9d706a09041af2d146a8c5dc7d1e6bb5fc4240f81885feb648f034
DIST mplus-TESTFLIGHT-060.tar.xz 9795300 SHA256 b6914650caa86b9a8cfd682ae643bfb174690513a5aa01b3d75830a6761ae753 SHA512 65da86ef01143e362fd7c3e72cda56e7b8e735f844e53c9bc73ffd40a26d335a58ad8c9aa1fc208ab232de53100fcca40e776ad5714063b899094aee675450a9 WHIRLPOOL a5c3d6736e185037ceae1a7eb39231ef508965642a6cc74e4a37cdb4217b4bb92983856fb677e4906bb030dab7f4fe7e43c15c6b8f01aee03b7031112fb973c8
+DIST mplus-TESTFLIGHT-061.tar.xz 9995208 SHA256 0f8983267ae274b5c47d17db4aca193dfce3558c6561aa6e95c9212f68313bfb SHA512 108688ecc4c00cfe65156a80b1b784526d45d7261a8a203924abf7589e8e771d670de128d4ff306d3a07a2eacd548867311bf5d73b3bb56a731791eabb6ff16f WHIRLPOOL 46550c87a4d335cf384e14a8ed40f1b76efcffb9509a85c52aed203b665d1cc8e01fd38434aaf582128ec55ceff03cf103880c9c6860e338f1338cd353e0d923
diff --git a/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre061.ebuild b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre061.ebuild
new file mode 100644
index 000000000000..a270da4bd3a4
--- /dev/null
+++ b/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre061.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}