diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-06-22 16:06:51 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-06-22 16:06:51 +0000 |
commit | ce8ea39d777af80a8e13bec2509ecb9489e51dc6 (patch) | |
tree | e0003a893f71b7057ae6789c68504da8ac201e61 | |
parent | Drop support for old gnome-screensaver, fix underlinking and spidermonkey det... (diff) | |
download | gentoo-2-ce8ea39d777af80a8e13bec2509ecb9489e51dc6.tar.gz gentoo-2-ce8ea39d777af80a8e13bec2509ecb9489e51dc6.tar.bz2 gentoo-2-ce8ea39d777af80a8e13bec2509ecb9489e51dc6.zip |
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
-rw-r--r-- | media-fonts/unifont/ChangeLog | 8 | ||||
-rw-r--r-- | media-fonts/unifont/files/unifont-7.0.01-font-Makefile.patch | 10 | ||||
-rw-r--r-- | media-fonts/unifont/unifont-7.0.01.ebuild | 62 |
3 files changed, 79 insertions, 1 deletions
diff --git a/media-fonts/unifont/ChangeLog b/media-fonts/unifont/ChangeLog index 30bfcf53f1d3..cbd4e8a3b1c5 100644 --- a/media-fonts/unifont/ChangeLog +++ b/media-fonts/unifont/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-fonts/unifont # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.48 2014/03/22 08:18:59 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.49 2014/06/22 16:06:51 floppym Exp $ + +*unifont-7.0.01 (22 Jun 2014) + + 22 Jun 2014; Mike Gilbert <floppym@gentoo.org> + +files/unifont-7.0.01-font-Makefile.patch, +unifont-7.0.01.ebuild: + Version bump. 22 Mar 2014; Naohiro Aota <naota@gentoo.org> unifont-6.3.20140204.ebuild: Add ~x86-fbsd. #500844 diff --git a/media-fonts/unifont/files/unifont-7.0.01-font-Makefile.patch b/media-fonts/unifont/files/unifont-7.0.01-font-Makefile.patch new file mode 100644 index 000000000000..f82a28b88690 --- /dev/null +++ b/media-fonts/unifont/files/unifont-7.0.01-font-Makefile.patch @@ -0,0 +1,10 @@ +--- a/font/Makefile ++++ b/font/Makefile +@@ -309,7 +309,6 @@ + $(BINDIR)/unihex2png -p 00$$i \ + -i $(COMPILED_DIR)/unifont_csur_sample-$(VERSION).hex \ + -o $(PNGDIR)/csur/uni00$$i.png ; \ +- done ; \ + done + for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ + for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ diff --git a/media-fonts/unifont/unifont-7.0.01.ebuild b/media-fonts/unifont/unifont-7.0.01.ebuild new file mode 100644 index 000000000000..1acafa81ec67 --- /dev/null +++ b/media-fonts/unifont/unifont-7.0.01.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/unifont-7.0.01.ebuild,v 1.1 2014/06/22 16:06:51 floppym Exp $ + +EAPI=5 + +inherit eutils 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="~amd64 ~arm ~ia64 ~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() { + epatch "${FILESDIR}/unifont-7.0.01-font-Makefile.patch" + sed -i -e 's/install -s/install/' src/Makefile || die + epatch_user +} + +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 +} |