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

Diff of /eclass/font.eclass

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

Revision 1.24 Revision 1.25
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.24 2007/07/15 22:24:15 dirtyepic Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.25 2007/07/29 22:20:39 dirtyepic Exp $
4 4
5# Author: foser <foser@gentoo.org> 5# Author: foser <foser@gentoo.org>
6 6
7# Font Eclass 7# Font Eclass
8# 8#
61 HOME="/root" fc-cache -f "${D}${FONTDIR}" 61 HOME="/root" fc-cache -f "${D}${FONTDIR}"
62 fi 62 fi
63} 63}
64 64
65font_fontconfig() { 65font_fontconfig() {
66
67 local conffile 66 local conffile
67 if [[ -n ${FONT_CONF} ]]; then
68 if has_version '>=media-libs/fontconfig-2.4'; then 68 if has_version '>=media-libs/fontconfig-2.4'; then
69 insinto /etc/fonts/conf.avail/ 69 insinto /etc/fonts/conf.avail/
70 for conffile in "${FONT_CONF}"; do 70 for conffile in "${FONT_CONF}"; do
71 [[ -e "${FILESDIR}/${conffile}" ]] && doins "${FILESDIR}/${conffile}" 71 [[ -e ${conffile} ]] && doins ${conffile}
72 done 72 done
73 fi
73 fi 74 fi
74
75} 75}
76 76
77# 77#
78# Public inheritable functions 78# Public inheritable functions
79# 79#

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20