diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-03-28 22:10:17 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-03-28 22:11:26 -0400 |
commit | 84d7291509d0a6fbbbfb355af2b87a8e66aad048 (patch) | |
tree | d6879a6b06dfc7f84c678343d0a389d83e90242c /media-fonts/unifont/unifont-13.0.01.ebuild | |
parent | media-fonts/unifont: disable manpage compression (diff) | |
download | gentoo-84d7291509d0a6fbbbfb355af2b87a8e66aad048.tar.gz gentoo-84d7291509d0a6fbbbfb355af2b87a8e66aad048.tar.bz2 gentoo-84d7291509d0a6fbbbfb355af2b87a8e66aad048.zip |
media-fonts/unifont: bump to 13.0.01
Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-fonts/unifont/unifont-13.0.01.ebuild')
-rw-r--r-- | media-fonts/unifont/unifont-13.0.01.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/media-fonts/unifont/unifont-13.0.01.ebuild b/media-fonts/unifont/unifont-13.0.01.ebuild new file mode 100644 index 000000000000..ff270fcb7c1d --- /dev/null +++ b/media-fonts/unifont/unifont-13.0.01.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit font toolchain-funcs + +DESCRIPTION="GNU Unifont - a Pan-Unicode X11 bitmap iso10646 font" +HOMEPAGE="http://unifoundry.com/" +SRC_URI="mirror://gnu/${PN}/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="fontforge utils" + +BDEPEND=" + fontforge? ( + app-text/bdf2psf + dev-lang/perl + dev-perl/GD[png(-)] + media-gfx/fontforge + x11-apps/bdftopcf + ) +" +RDEPEND=" + utils? ( + dev-lang/perl + dev-perl/GD[png(-)] + ) +" + +PATCHES=( + "${FILESDIR}"/11.0.02-make.patch +) + +src_compile() { + buildargs=( + BUILDFONT=$(usex fontforge 1 '') + CC="$(tc-getCC)" + CFLAGS="${CFLAGS}" + INSTALL="${INSTALL-install}" + ) + if use fontforge || use utils; then + emake "${buildargs[@]}" + fi +} + +src_install() { + local installargs=( + COMPRESS=0 + DESTDIR="${ED}" + PCFDEST="${ED}${FONTDIR}" + TTFDEST="${ED}${FONTDIR}" + ) + use utils || installargs+=( -C font ) + emake "${buildargs[@]}" "${installargs[@]}" install + font_xfont_config + font_fontconfig +} |