summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-12-23 14:34:52 -0500
committerMike Gilbert <floppym@gentoo.org>2016-12-23 14:35:21 -0500
commit7d829f9182c403647a3e41d5637473707337cc08 (patch)
tree3cdd2e4a4e819bbbcfa59fc916a3ba5c5079a4db /media-fonts
parentapp-text/bdf2psf: bump to 1.155 (diff)
downloadgentoo-7d829f9182c403647a3e41d5637473707337cc08.tar.gz
gentoo-7d829f9182c403647a3e41d5637473707337cc08.tar.bz2
gentoo-7d829f9182c403647a3e41d5637473707337cc08.zip
media-fonts/unifont: bump to 9.0.06
Package-Manager: Portage-2.3.3_p9, Repoman-2.3.1_p2
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/unifont/Manifest1
-rw-r--r--media-fonts/unifont/unifont-9.0.06.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest
index ae04f54d9b0e..bb5557327867 100644
--- a/media-fonts/unifont/Manifest
+++ b/media-fonts/unifont/Manifest
@@ -1,2 +1,3 @@
DIST unifont-8.0.01.tar.gz 19157156 SHA256 4b20bfc6412bce9302cd321f39d7c0185c3c69f9deaf9ab7ea89c4e105fbcb9c SHA512 171b8caff9d2f821fa0759a55d102edcaf23be592c0619c8148c95aac353834bf096591710e9dedf18aa6c1dde051d1caee5c7b2b3a0d302ae9ab64bcfd731a5 WHIRLPOOL c72637d4549ce476a6327160e589137a9e9c24bdabd3a341a08b7d91bdee2208bc49b0cedc11ca43a0cdef50123b09148f9fde2b1c073b12005140cc091e9c0a
DIST unifont-9.0.04.tar.gz 14787042 SHA256 9a7672fb132f4143b43fe60ae7eee028a8c6c27a10c2155cffb22661a3d6939b SHA512 1ddf232572e7e53838fbd9c9e28ef6573e29641ea47372ee7b0057d2df3c9d0eaf3c57478f5a8972ea439f7ce423e767208764676bbf34f7b026e60809b73fd4 WHIRLPOOL a6fa253661745cee71e9c56984667c3462a79e60b4fd22913f76e8be7b97cdf992992b9e554fb1a0807010b9eccc67e806368e71461e5ee4cb0b30eed808bc15
+DIST unifont-9.0.06.tar.gz 14785468 SHA256 07c51d4c74d0fe1056b73caa0d692f76a257b1a69f60f7d58acf5e14bbca7e79 SHA512 767dc107d9a33008116b6939facbf31db6c7942acad257ad52a1a249f04b6215b41da928ef00e8308c2cc19924257cb0219d4eddd2b99502621ebd82e8673988 WHIRLPOOL ff50341164dd9aa175572bc6237e6dfe82a5a08b9f9eaf462fd3093cebd160085b0104489fc40634b69eba1c01e776362dd886e6f589b5718ecb74301249d358
diff --git a/media-fonts/unifont/unifont-9.0.06.ebuild b/media-fonts/unifont/unifont-9.0.06.ebuild
new file mode 100644
index 000000000000..b0ae12aa92a7
--- /dev/null
+++ b/media-fonts/unifont/unifont-9.0.06.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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 ~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
+ makeargs=(
+ CFLAGS="${CFLAGS}"
+ BUILDFONT=$(usex fontforge 1 '')
+ )
+ emake -j1 "${makeargs[@]}"
+ fi
+}
+
+src_install() {
+ makeargs+=(
+ DESTDIR="${ED%/}"
+ PCFDEST="${ED%/}${FONTDIR}"
+ TTFDEST="${ED%/}${FONTDIR}"
+ USRDIR=usr
+ )
+ use utils || makeargs+=( -C font )
+ emake -j1 "${makeargs[@]}" install
+ font_xfont_config
+ font_fontconfig
+}