diff options
author | Dror Levin <spatz@gentoo.org> | 2011-01-20 23:47:45 +0000 |
---|---|---|
committer | Dror Levin <spatz@gentoo.org> | 2011-01-20 23:47:45 +0000 |
commit | 06549d82b5a706db667dd5124dc85b1021487868 (patch) | |
tree | 715a94cdaf112a6f03f552089ae02fb841f74b64 /media-fonts | |
parent | Fix pervasives conflict with ocaml 3.12 (diff) | |
download | gentoo-2-06549d82b5a706db667dd5124dc85b1021487868.tar.gz gentoo-2-06549d82b5a706db667dd5124dc85b1021487868.tar.bz2 gentoo-2-06549d82b5a706db667dd5124dc85b1021487868.zip |
Version bump, bug 351108.
(Portage version: 2.2.0_alpha18/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/terminus-font/ChangeLog | 9 | ||||
-rw-r--r-- | media-fonts/terminus-font/terminus-font-4.32.ebuild | 81 |
2 files changed, 88 insertions, 2 deletions
diff --git a/media-fonts/terminus-font/ChangeLog b/media-fonts/terminus-font/ChangeLog index b44c6128cf2c..fb9f7446689b 100644 --- a/media-fonts/terminus-font/ChangeLog +++ b/media-fonts/terminus-font/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-fonts/terminus-font -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.79 2010/07/07 09:21:36 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.80 2011/01/20 23:47:45 spatz Exp $ + +*terminus-font-4.32 (20 Jan 2011) + + 20 Jan 2011; Dror Levin <spatz@gentoo.org> +terminus-font-4.32.ebuild: + Version bump, bug 351108. 07 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> terminus-font-4.30.ebuild: diff --git a/media-fonts/terminus-font/terminus-font-4.32.ebuild b/media-fonts/terminus-font/terminus-font-4.32.ebuild new file mode 100644 index 000000000000..8d5de5ffcd4f --- /dev/null +++ b/media-fonts/terminus-font/terminus-font-4.32.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/terminus-font-4.32.ebuild,v 1.1 2011/01/20 23:47:45 spatz Exp $ + +EAPI=3 + +inherit eutils font + +DESCRIPTION="A clean fixed font for the console and X11" +HOMEPAGE="http://terminus-font.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz" + +LICENSE="OFL-1.1 GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +IUSE="a-like-o ru-dv +ru-g quote ru-i ru-k width +psf raw-font-data +pcf" + +DEPEND="dev-lang/perl + sys-apps/gawk + app-arch/gzip + pcf? ( x11-apps/bdftopcf )" +RDEPEND="" + +FONTDIR=/usr/share/fonts/terminus +DOCS="README README-BG" + +pkg_setup() { + # Note: that pcf fonts can be loaded by freetype even if X is not installed. + # That's why configuration +pcf and -X is supported, bug #155783. + if use X && ! use pcf ; then + eerror "Fonts which works with Xserver are intalled only if pcf is enabled." + die "Either disable X use flag or enabled pcf." + fi + + font_pkg_setup +} + +src_prepare() { + # Upstream patches. Some of them are suggested to be applied by default + # dv - de NOT like latin g, but like caps greek delta + # ve NOT like greek beta, but like caps latin B + # ge - ge NOT like "mirrored" latin s, but like caps greek gamma + # ka - small ka NOT like minimised caps latin K, but like small latin k + use a-like-o && epatch "${S}"/alt/ao2.diff + use ru-i && epatch "${S}"/alt/ij1.diff + use ru-k && epatch "${S}"/alt/ka2.diff + use ru-dv && epatch "${S}"/alt/dv1.diff + use ru-g && epatch "${S}"/alt/ge1.diff + use quote && epatch "${S}"/alt/gq2.diff + use width && epatch "${S}"/alt/cm2.diff +} + +src_configure() { + # selfwritten configure script + ./configure \ + --prefix="${EPREFIX}"/usr \ + --psfdir="${EPREFIX}"/usr/share/consolefonts \ + --acmdir="${EPREFIX}"/usr/share/consoletrans \ + --unidir="${EPREFIX}"/usr/share/consoletrans \ + --x11dir="${EPREFIX}"/${FONTDIR} || die +} + +src_compile() { + if use psf; then emake psf txt || die; fi + if use raw-font-data; then emake raw || die; fi + if use pcf; then emake pcf || die; fi +} + +src_install() { + if use psf; then + emake DESTDIR="${D}" install-psf install-uni install-acm install-ref || die + fi + if use raw-font-data; then + emake DESTDIR="${D}" install.raw || die + fi + if use pcf; then + emake DESTDIR="${D}" install-pcf || die + fi + + font_src_install +} |