From e368b9c479d09baa19cfb5b835cfc63dcc27a03a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sat, 12 Mar 2022 00:16:11 +0100 Subject: media-fonts/unifont: add 14.0.03 Closes: https://github.com/gentoo/gentoo/pull/24500 Signed-off-by: Haelwenn (lanodan) Monnier Signed-off-by: Matt Turner --- media-fonts/unifont/Manifest | 1 + media-fonts/unifont/unifont-14.0.03.ebuild | 56 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 media-fonts/unifont/unifont-14.0.03.ebuild (limited to 'media-fonts') diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest index 06ad234dd2d6..cf35782b7cb2 100644 --- a/media-fonts/unifont/Manifest +++ b/media-fonts/unifont/Manifest @@ -1 +1,2 @@ DIST unifont-13.0.01.tar.gz 21053298 BLAKE2B 981d3d79015df9fa401823034de532840652127bc881d13244243dc0fbaabc14212b006f1e72ff65233793c7064576b51855d6a8ab1f7d889e7837c9c22d4f5d SHA512 2987aa097f89b1287d126e44297b19e405e198bb8ede2e321e6452c60678ebf4cf0be5f059b9565f4584bad09801effabe64d01ab90f132f27b206174827b14b +DIST unifont-14.0.03.tar.gz 27451330 BLAKE2B f0ae933fc493d7e724b0526968d63fb4209e28526346a835b918aa6a31cd1a31c15a0c00f89196f6fd42cf2a0b2db8c51d9b6f9d7648938609e8b7e4122078a3 SHA512 de80097a4e1751c6ca21775c8ffe19716a910a0d110749017eacaa50a9f8f02d80e0b402426f3c2309e64e129a0386e29015d1116ad5fd64f97e5dc7fb75bdce diff --git a/media-fonts/unifont/unifont-14.0.03.ebuild b/media-fonts/unifont/unifont-14.0.03.ebuild new file mode 100644 index 000000000000..80db5d792bbd --- /dev/null +++ b/media-fonts/unifont/unifont-14.0.03.ebuild @@ -0,0 +1,56 @@ +# Copyright 2003-2022 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(+)] + ) +" + +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 +} -- cgit v1.2.3-65-gdbad