summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-10-18 03:59:33 +0000
committerMike Gilbert <floppym@gentoo.org>2014-10-18 03:59:33 +0000
commit4149e5c48ef98ff02688eda59ec1c7a908eb2ca6 (patch)
tree1a9b4a9ac4d96f4a76a8702ba9ae052cb93805e3 /media-fonts
parentRemove old. (diff)
downloadgentoo-2-4149e5c48ef98ff02688eda59ec1c7a908eb2ca6.tar.gz
gentoo-2-4149e5c48ef98ff02688eda59ec1c7a908eb2ca6.tar.bz2
gentoo-2-4149e5c48ef98ff02688eda59ec1c7a908eb2ca6.zip
Version bump.
(Portage version: 2.2.14_rc1/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-7.0.05.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/media-fonts/unifont/ChangeLog b/media-fonts/unifont/ChangeLog
index 7989579c199f..f0a7ffd7be55 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.53 2014/10/14 11:11:47 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/ChangeLog,v 1.54 2014/10/18 03:59:33 floppym Exp $
+
+*unifont-7.0.05 (18 Oct 2014)
+
+ 18 Oct 2014; Mike Gilbert <floppym@gentoo.org> +unifont-7.0.05.ebuild:
+ Version bump.
14 Oct 2014; Tobias Klausmann <klausman@gentoo.org> unifont-7.0.03.ebuild:
Keyworded on alpha, bug 500844
diff --git a/media-fonts/unifont/unifont-7.0.05.ebuild b/media-fonts/unifont/unifont-7.0.05.ebuild
new file mode 100644
index 000000000000..b235e4b9d145
--- /dev/null
+++ b/media-fonts/unifont/unifont-7.0.05.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.05.ebuild,v 1.1 2014/10/18 03:59:33 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
+}