mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user