summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-02-10 06:36:20 +0000
committerMike Gilbert <floppym@gentoo.org>2014-02-10 06:36:20 +0000
commit7d88e7fc7d972b6f1a11eec177f52dca3bd1d45d (patch)
tree8b5c049c14285e6f80c7392706198a6bf644dbec /media-fonts
parentNew ebuild; dependency of media-fonts/unifont. (diff)
downloadgentoo-2-7d88e7fc7d972b6f1a11eec177f52dca3bd1d45d.tar.gz
gentoo-2-7d88e7fc7d972b6f1a11eec177f52dca3bd1d45d.tar.bz2
gentoo-2-7d88e7fc7d972b6f1a11eec177f52dca3bd1d45d.zip
Version bump. Drop keywords due to new dependency on bdf2psf.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/unifont/ChangeLog9
-rw-r--r--media-fonts/unifont/unifont-6.3.20140204.ebuild53
2 files changed, 60 insertions, 2 deletions
diff --git a/media-fonts/unifont/ChangeLog b/media-fonts/unifont/ChangeLog
index 543a1a394111..c4cc391d44e7 100644
--- a/media-fonts/unifont/ChangeLog
+++ b/media-fonts/unifont/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/unifont
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.43 2013/12/19 03:37:49 floppym Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.44 2014/02/10 06:36:20 floppym Exp $
+
+*unifont-6.3.20140204 (10 Feb 2014)
+
+ 10 Feb 2014; Mike Gilbert <floppym@gentoo.org> +unifont-6.3.20140204.ebuild:
+ Version bump. Drop keywords due to new dependency on bdf2psf.
*unifont-6.3.20131217 (19 Dec 2013)
diff --git a/media-fonts/unifont/unifont-6.3.20140204.ebuild b/media-fonts/unifont/unifont-6.3.20140204.ebuild
new file mode 100644
index 000000000000..4e5c33a97cce
--- /dev/null
+++ b/media-fonts/unifont/unifont-6.3.20140204.ebuild
@@ -0,0 +1,53 @@
+# 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-6.3.20140204.ebuild,v 1.1 2014/02/10 06:36:20 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 ~x86"
+IUSE="fontforge utils"
+
+DEPEND="
+ fontforge? (
+ app-text/bdf2psf
+ dev-lang/perl
+ media-gfx/fontforge
+ x11-apps/bdftopcf
+ )
+"
+RDEPEND="
+ utils? ( dev-lang/perl )
+"
+
+src_prepare() {
+ sed -i -e 's/install -s/install/' src/Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ makeargs=(
+ CFLAGS="${CFLAGS}"
+ )
+ use fontforge && emake -j1 "${makeargs[@]}" BUILDFONT=1
+}
+
+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
+}