summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-07-03 15:06:20 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-03 15:09:32 -0400
commit75b6b95b1b29dc085f84a9660583534a1f11bcc4 (patch)
tree2d502d10d5e147bf0c397c8126839cdfe7c85d87
parentapp-text/liblangtag: Really only use introspection if explicitly enabled, bug... (diff)
downloadgentoo-75b6b95b1b29dc085f84a9660583534a1f11bcc4.tar.gz
gentoo-75b6b95b1b29dc085f84a9660583534a1f11bcc4.tar.bz2
gentoo-75b6b95b1b29dc085f84a9660583534a1f11bcc4.zip
media-fonts/unifont: bump to 9.0.01
Package-Manager: portage-2.3.0_p7
-rw-r--r--media-fonts/unifont/Manifest1
-rw-r--r--media-fonts/unifont/unifont-9.0.01.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest
index 6161dce87403..6fdea1b55eb9 100644
--- a/media-fonts/unifont/Manifest
+++ b/media-fonts/unifont/Manifest
@@ -8,3 +8,4 @@ DIST unifont-7.0.03.tar.gz 18372349 SHA256 3b5f2f3aa1bee9fdd3b23b17c0a3206948c31
DIST unifont-7.0.05.tar.gz 19572577 SHA256 cf926e9f3d9b4f263eb81633af700b40ef1cd149d44abdc3880c3f650bb09ca9 SHA512 96383ffd7539f28a789b6d32d62f9cf810de033415c44eae9c3815ff8b0fa4e348294fadfa8d9c8e51745977f801495f660d3c5e949a9ea9bf0bdc8824501c49 WHIRLPOOL 1d28aacdb685e73c17d5dd44d2106f7c9e07550a26a6020401ee2a55f37f5068baa0fe86fcbafee00e0c8f929bd1dc00f04660e15fa8999f6742814e93945342
DIST unifont-7.0.06.tar.gz 19656923 SHA256 d04e8c86aaaf7214b5212340ee853a35502b9fa311561007be3a8cf465dabf3b SHA512 c53f47d11673c8856a7efd410819c845bc25273f4ddc1a535d59253342b319d53b8336ef97b5ec01cbbf3d2596ab7138c4a03d1302bfda70a3f7e1796f412447 WHIRLPOOL 3865bb933f02347d3407f277c3df4b6839ed01953ede9ec858fac59c41f3afdd68f07cad52a9de297b5cc43516a005a783b6f4901876320a1bdb39bf672f3e52
DIST unifont-8.0.01.tar.gz 19157156 SHA256 4b20bfc6412bce9302cd321f39d7c0185c3c69f9deaf9ab7ea89c4e105fbcb9c SHA512 171b8caff9d2f821fa0759a55d102edcaf23be592c0619c8148c95aac353834bf096591710e9dedf18aa6c1dde051d1caee5c7b2b3a0d302ae9ab64bcfd731a5 WHIRLPOOL c72637d4549ce476a6327160e589137a9e9c24bdabd3a341a08b7d91bdee2208bc49b0cedc11ca43a0cdef50123b09148f9fde2b1c073b12005140cc091e9c0a
+DIST unifont-9.0.01.tar.gz 18287287 SHA256 2bd54b92aa31e1bf9d6a03023150fc3d5989ff6b9aa650c7892429ad4ca7e493 SHA512 ff9de0293c7ee6394b9de5c41b43cfe797051222f27010871d44aa7a626d7db880f253679b7ff88c2b3621de42b67c3b1f0c97db37e7cf13ad72855acb55192a WHIRLPOOL f3091bf7785d3dbed0fd198ef683f3e07f0f854f71f92928193f212df6387a3486866d15982b2df9cdfd989a9cfd0617b42ba235df1a062ca786a3fdd8662507
diff --git a/media-fonts/unifont/unifont-9.0.01.ebuild b/media-fonts/unifont/unifont-9.0.01.ebuild
new file mode 100644
index 000000000000..06a86e5d9bf2
--- /dev/null
+++ b/media-fonts/unifont/unifont-9.0.01.ebuild
@@ -0,0 +1,63 @@
+# 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(-)]
+ )
+"
+
+S=${WORKDIR}/${PN}-${PV%.*}
+
+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
+}