| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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/x-modular.eclass,v 1.111 2009/08/22 20:12:42 dirtyepic Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.112 2009/08/27 15:16:09 scarabeus Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: x-modular.eclass |
5 | # @ECLASS: x-modular.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org |
7 | # Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org |
| 8 | # @BLURB: Reduces code duplication in the modularized X11 ebuilds. |
8 | # @BLURB: Reduces code duplication in the modularized X11 ebuilds. |
| … | |
… | |
| 346 | # If a font package, perform any necessary configuration steps |
346 | # If a font package, perform any necessary configuration steps |
| 347 | x-modular_font_configure() { |
347 | x-modular_font_configure() { |
| 348 | if [[ -n "${FONT}" ]]; then |
348 | if [[ -n "${FONT}" ]]; then |
| 349 | # Might be worth adding an option to configure your desired font |
349 | # Might be worth adding an option to configure your desired font |
| 350 | # and exclude all others. Also, should this USE be nls or minimal? |
350 | # and exclude all others. Also, should this USE be nls or minimal? |
| 351 | if ! use nls; then |
351 | if has nls ${IUSE//+} && ! use nls; then |
| 352 | FONT_OPTIONS="${FONT_OPTIONS} |
352 | FONT_OPTIONS="${FONT_OPTIONS} |
| 353 | --disable-iso8859-2 |
353 | --disable-iso8859-2 |
| 354 | --disable-iso8859-3 |
354 | --disable-iso8859-3 |
| 355 | --disable-iso8859-4 |
355 | --disable-iso8859-4 |
| 356 | --disable-iso8859-5 |
356 | --disable-iso8859-5 |