summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-07-01 00:49:53 +0000
committerMike Gilbert <floppym@gentoo.org>2015-07-01 00:49:53 +0000
commitb7fd4502730036eb2c6ea2ba42ac25d7c3a2478e (patch)
tree84086127fdbaa4072b1c89d2e1ea078d85474b51 /media-fonts
parentBackport unifont build workaround. (diff)
downloadgentoo-2-b7fd4502730036eb2c6ea2ba42ac25d7c3a2478e.tar.gz
gentoo-2-b7fd4502730036eb2c6ea2ba42ac25d7c3a2478e.tar.bz2
gentoo-2-b7fd4502730036eb2c6ea2ba42ac25d7c3a2478e.zip
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/unifont/ChangeLog7
-rw-r--r--media-fonts/unifont/unifont-8.0.01.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/media-fonts/unifont/ChangeLog b/media-fonts/unifont/ChangeLog
index dcfcd24f5541..69fc8e6fcf0c 100644
--- a/media-fonts/unifont/ChangeLog
+++ b/media-fonts/unifont/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/unifont
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.57 2015/02/21 23:09:49 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.58 2015/07/01 00:49:53 floppym Exp $
+
+*unifont-8.0.01 (01 Jul 2015)
+
+ 01 Jul 2015; Mike Gilbert <floppym@gentoo.org> +unifont-8.0.01.ebuild:
+ Version bump.
21 Feb 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Add myself as a maintainer.
diff --git a/media-fonts/unifont/unifont-8.0.01.ebuild b/media-fonts/unifont/unifont-8.0.01.ebuild
new file mode 100644
index 000000000000..d41703dc7f77
--- /dev/null
+++ b/media-fonts/unifont/unifont-8.0.01.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/unifont-8.0.01.ebuild,v 1.1 2015/07/01 00:49: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 ~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
+ 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
+}