diff options
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/ricty/ricty-3.2.0-r1.ebuild | 38 | ||||
-rw-r--r-- | media-fonts/ricty/ricty-3.2.0.ebuild | 2 |
2 files changed, 39 insertions, 1 deletions
diff --git a/media-fonts/ricty/ricty-3.2.0-r1.ebuild b/media-fonts/ricty/ricty-3.2.0-r1.ebuild new file mode 100644 index 000000000000..32860910bb98 --- /dev/null +++ b/media-fonts/ricty/ricty-3.2.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit font + +MY_PN="Ricty" +DESCRIPTION="A beautiful sans-serif monotype Japanese font designed for code listings" +HOMEPAGE="http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html" +#SRC_URI="http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty/${MY_PN}-${PV}.tar.gz" +SRC_URI="https://github.com/yascentur/${MY_PN}/tarball/${PV} -> ${MY_PN}-${PV}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-fonts/inconsolata + >=media-fonts/mix-mplus-ipa-20111002 + media-gfx/fontforge" +RDEPEND="" + +#S="${WORKDIR}/yascentur-${MY_PN}-*" +S="${WORKDIR}/yascentur-${MY_PN}-b9d8b9c" + +FONT_SUFFIX="ttf" +FONT_S="${S}" + +# Only installs fonts. +RESTRICT="strip binchecks" + +src_compile() { + sh ricty_generator.sh \ + "${EPREFIX}/usr/share/fonts/inconsolata/Inconsolata-Regular.ttf" \ + "${EPREFIX}/usr/share/fonts/mix-mplus-ipa/migu-1m-regular.ttf" \ + "${EPREFIX}/usr/share/fonts/mix-mplus-ipa/migu-1m-bold.ttf" || die +} diff --git a/media-fonts/ricty/ricty-3.2.0.ebuild b/media-fonts/ricty/ricty-3.2.0.ebuild index 05cbee149000..f2c7d23e997a 100644 --- a/media-fonts/ricty/ricty-3.2.0.ebuild +++ b/media-fonts/ricty/ricty-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ |