summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-11-25 00:31:53 +0000
committerMike Gilbert <floppym@gentoo.org>2014-11-25 00:31:53 +0000
commit2835b1f89da0048a6756d710ab0e695eb2259015 (patch)
tree4520e00e5b2c7ff70fd72a3ac1c42b48a751b7ea /media-fonts/unifont
parentechangelog (diff)
downloadgentoo-2-2835b1f89da0048a6756d710ab0e695eb2259015.tar.gz
gentoo-2-2835b1f89da0048a6756d710ab0e695eb2259015.tar.bz2
gentoo-2-2835b1f89da0048a6756d710ab0e695eb2259015.zip
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'media-fonts/unifont')
-rw-r--r--media-fonts/unifont/ChangeLog7
-rw-r--r--media-fonts/unifont/unifont-7.0.06.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/media-fonts/unifont/ChangeLog b/media-fonts/unifont/ChangeLog
index f0a7ffd7be55..ba7c22002499 100644
--- a/media-fonts/unifont/ChangeLog
+++ b/media-fonts/unifont/ChangeLog
@@ -1,6 +1,11 @@
# 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.54 2014/10/18 03:59:33 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.55 2014/11/25 00:31:53 floppym Exp $
+
+*unifont-7.0.06 (25 Nov 2014)
+
+ 25 Nov 2014; Mike Gilbert <floppym@gentoo.org> +unifont-7.0.06.ebuild:
+ Version bump.
*unifont-7.0.05 (18 Oct 2014)
diff --git a/media-fonts/unifont/unifont-7.0.06.ebuild b/media-fonts/unifont/unifont-7.0.06.ebuild
new file mode 100644
index 000000000000..169265a2b51d
--- /dev/null
+++ b/media-fonts/unifont/unifont-7.0.06.ebuild
@@ -0,0 +1,61 @@
+# 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.06.ebuild,v 1.1 2014/11/25 00:31:53 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="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~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
+ 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
+}