From 84d7291509d0a6fbbbfb355af2b87a8e66aad048 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 28 Mar 2020 22:10:17 -0400 Subject: 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 --- media-fonts/unifont/Manifest | 2 +- media-fonts/unifont/unifont-11.0.02.ebuild | 65 ------------------------------ media-fonts/unifont/unifont-13.0.01.ebuild | 60 +++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 66 deletions(-) delete mode 100644 media-fonts/unifont/unifont-11.0.02.ebuild create mode 100644 media-fonts/unifont/unifont-13.0.01.ebuild (limited to 'media-fonts/unifont') diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest index a418d652f568..d587e3534ebe 100644 --- a/media-fonts/unifont/Manifest +++ b/media-fonts/unifont/Manifest @@ -1,2 +1,2 @@ DIST unifont-10.0.06.tar.gz 15651257 BLAKE2B e146ffe9ab591e5d90d399d37e068f0c3002a67699698b3f6b22a14ca91fe0415a507d855b56caae4e50183d97978667edca2fa2095209abbc7d02a4f17c20b8 SHA512 36f1eed24b37aad2f2ef100c8d2be01363a5438e76771e9ae82fa61ce58a4dd51566063b8e7b1265696cfe2335f1017842fecac2a5a801913f82ac9bf24caa54 -DIST unifont-11.0.02.tar.gz 15874967 BLAKE2B ee3c887ae441e70a95aad9a8f11d955ef848a5d4921d9c4c340d2f91a4c795503f2ef514bae93899591978afb797bee9d03bc222801f7d2daed199fb6045769b SHA512 d0dc8ce079feb282f53c444df5819751a7c97788feed480dc5c5b8a239c8cc13ef258876ffe2830994e404c0a6f524481a405b273c7341703ceef5854c12a68d +DIST unifont-13.0.01.tar.gz 21053298 BLAKE2B 981d3d79015df9fa401823034de532840652127bc881d13244243dc0fbaabc14212b006f1e72ff65233793c7064576b51855d6a8ab1f7d889e7837c9c22d4f5d SHA512 2987aa097f89b1287d126e44297b19e405e198bb8ede2e321e6452c60678ebf4cf0be5f059b9565f4584bad09801effabe64d01ab90f132f27b206174827b14b diff --git a/media-fonts/unifont/unifont-11.0.02.ebuild b/media-fonts/unifont/unifont-11.0.02.ebuild deleted file mode 100644 index 11e1e3db69d6..000000000000 --- a/media-fonts/unifont/unifont-11.0.02.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit font toolchain-funcs xdg-utils - -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" - -DEPEND=" - 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_prepare() { - sed -i -e 's/install -s/install/' src/Makefile || die - default -} - -src_compile() { - if use fontforge || use utils; then - tc-export CC - xdg_environment_reset - makeargs=( - CFLAGS="${CFLAGS}" - BUILDFONT=$(usex fontforge 1 '') - ) - emake "${makeargs[@]}" - fi -} - -src_install() { - makeargs+=( - DESTDIR="${ED%/}" - PCFDEST="${ED%/}${FONTDIR}" - TTFDEST="${ED%/}${FONTDIR}" - USRDIR=usr - ) - use utils || makeargs+=( -C font ) - emake "${makeargs[@]}" COMPRESS=0 install - font_xfont_config - font_fontconfig -} 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 +} -- cgit v1.2.3-65-gdbad