diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-08-28 11:20:19 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-08-28 11:20:32 -0400 |
commit | 8447b2a48f2910bb549e76d8b973a097b235460d (patch) | |
tree | c71262239b3e3d1d70ba453fda38f4f885440060 /media-fonts | |
parent | dev-perl/glib-perl: Drop old (diff) | |
download | gentoo-8447b2a48f2910bb549e76d8b973a097b235460d.tar.gz gentoo-8447b2a48f2910bb549e76d8b973a097b235460d.tar.bz2 gentoo-8447b2a48f2910bb549e76d8b973a097b235460d.zip |
media-fonts/unifont: bump to 10.0.06
Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/unifont/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/unifont/unifont-10.0.06.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest index 74f2ccc3ffb8..c7766a3fa882 100644 --- a/media-fonts/unifont/Manifest +++ b/media-fonts/unifont/Manifest @@ -1,3 +1,4 @@ DIST unifont-10.0.04.tar.gz 15651848 SHA256 17c89ebdb329f0ab8181dc020aeafe1fb23047fa8c37f1d625eb6782733a1794 SHA512 0f9bb622e469ed340cc5ff465f6922b32eed2115014cad3ff445e8b17cedbf7c4c7f0025825e14ec4d046d9a28edb6a90eb9d9e402c38ed22b10303141f473b9 WHIRLPOOL 4f6bcdc07e6c2f51f20b64e50e06b47bbf9165195b603e7e4c4626726206ab824b4ee04c07f1ca87f07510ad2572078a634a52f7e79affa6fd305e49783af8e8 DIST unifont-10.0.05.tar.gz 15645240 SHA256 8b85367401729bf22217c44d914dee08770665ff01b5faccb7760a2a06934a1f SHA512 fa9ee669ecebf8ae86d4b972e66997fa8455ee37c0e95b3528394e7e10046fc0083950fca2fe84b265ae6066bbc9ed02dde1d7795f2fa5f34bdf8ffa47ecc042 WHIRLPOOL 9e613417737876b16b6921b3617147691b34db0c1cadf6cf4a7a2d21f9f344d3f690d0bb45613601daa177b3f962203532b9f090a2346f36c6660a10753a1a23 +DIST unifont-10.0.06.tar.gz 15651257 SHA256 57787f256f18ff4686c700eaa51d75a7693b7aa8a975581f50becec53f7d147d SHA512 36f1eed24b37aad2f2ef100c8d2be01363a5438e76771e9ae82fa61ce58a4dd51566063b8e7b1265696cfe2335f1017842fecac2a5a801913f82ac9bf24caa54 WHIRLPOOL 67b3028a1deb567c5668c8e4a53695c79dbd443334a5a69a1b5390a3a1d891340f0ac47399060b2d3b5c2201ffafee7d68839b60c8d29666886db172632b5b2c DIST unifont-9.0.06.tar.gz 14785468 SHA256 07c51d4c74d0fe1056b73caa0d692f76a257b1a69f60f7d58acf5e14bbca7e79 SHA512 767dc107d9a33008116b6939facbf31db6c7942acad257ad52a1a249f04b6215b41da928ef00e8308c2cc19924257cb0219d4eddd2b99502621ebd82e8673988 WHIRLPOOL ff50341164dd9aa175572bc6237e6dfe82a5a08b9f9eaf462fd3093cebd160085b0104489fc40634b69eba1c01e776362dd886e6f589b5718ecb74301249d358 diff --git a/media-fonts/unifont/unifont-10.0.06.ebuild b/media-fonts/unifont/unifont-10.0.06.ebuild new file mode 100644 index 000000000000..d2a020583cd6 --- /dev/null +++ b/media-fonts/unifont/unifont-10.0.06.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 ~sh ~sparc ~x86 ~x86-fbsd" +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(-)] + ) +" + +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[@]}" install + font_xfont_config + font_fontconfig +} |