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

Diff of /eclass/font.eclass

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

Revision 1.41 Revision 1.42
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.41 2009/01/02 09:42:26 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.42 2009/01/06 19:24:06 grobian 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#
79# Creates the fontconfig cache if necessary. 79# Creates the fontconfig cache if necessary.
80font_xft_config() { 80font_xft_config() {
81 if ! has_version '>=media-libs/fontconfig-2.4'; then 81 if ! has_version '>=media-libs/fontconfig-2.4'; then
82 # create fontconfig cache 82 # create fontconfig cache
83 einfo "Creating fontconfig cache ..." 83 einfo "Creating fontconfig cache ..."
84 # Mac OS X has fc-cache at /usr/X11R6/bin
85 fc-cache -sf "${D}${FONTDIR}" 84 fc-cache -sf "${D}${FONTDIR}"
86 fi 85 fi
87} 86}
88 87
89# @FUNCTION: font_fontconfig 88# @FUNCTION: font_fontconfig

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20