/[gentoo-x86]/eclass/font.eclass
Gentoo

Diff of /eclass/font.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.45 Revision 1.46
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.45 2009/09/07 21:07:11 dirtyepic Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.46 2009/09/13 04:47:34 dirtyepic Exp $
4 4
5# @ECLASS: font.eclass 5# @ECLASS: font.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# fonts@gentoo.org 7# fonts@gentoo.org
8# 8#
19# 19#
20 20
21# @ECLASS-VARIABLE: FONT_SUFFIX 21# @ECLASS-VARIABLE: FONT_SUFFIX
22# @DESCRIPTION: 22# @DESCRIPTION:
23# Space delimited list of font suffixes to install 23# Space delimited list of font suffixes to install
24FONT_SUFFIX="" 24FONT_SUFFIX=${FONT_SUFFIX:-}
25 25
26# @ECLASS-VARIABLE: FONT_S 26# @ECLASS-VARIABLE: FONT_S
27# @DESCRIPTION: 27# @DESCRIPTION:
28# Dir containing the fonts 28# Dir containing the fonts
29FONT_S=${S} 29FONT_S=${S}
30 30
31# @ECLASS-VARIABLE: FONT_PN 31# @ECLASS-VARIABLE: FONT_PN
32# @DESCRIPTION: 32# @DESCRIPTION:
33# Last part of $FONTDIR 33# Last part of $FONTDIR
34FONT_PN=${PN} 34FONT_PN=${FONT_PN:-${PN}}
35 35
36# @ECLASS-VARIABLE: FONTDIR 36# @ECLASS-VARIABLE: FONTDIR
37# @DESCRIPTION: 37# @DESCRIPTION:
38# This is where the fonts are installed 38# This is where the fonts are installed
39FONTDIR=/usr/share/fonts/${FONT_PN} 39FONTDIR=${FONTDIR:-/usr/share/fonts/${FONT_PN}}
40 40
41# @ECLASS-VARIABLE: FONT_CONF 41# @ECLASS-VARIABLE: FONT_CONF
42# @DESCRIPTION: 42# @DESCRIPTION:
43# Array, which element(s) is(are) path(s) of fontconfig-2.4 file(s) to install 43# Array, which element(s) is(are) path(s) of fontconfig-2.4 file(s) to install
44FONT_CONF=( "" ) 44FONT_CONF=( "" )
45 45
46# @ECLASS-VARIABLE: DOCS 46# @ECLASS-VARIABLE: DOCS
47# @DESCRIPTION: 47# @DESCRIPTION:
48# Docs to install 48# Docs to install
49DOCS="" 49DOCS=${DOCS:-}
50 50
51IUSE="X" 51IUSE="X"
52 52
53DEPEND="X? ( x11-apps/mkfontdir 53DEPEND="X? ( x11-apps/mkfontdir
54 media-fonts/encodings ) 54 media-fonts/encodings )
193 fc-cache -fs 193 fc-cache -fs
194 eend $? 194 eend $?
195 fi 195 fi
196 fi 196 fi
197} 197}
198

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20