/[gentoo-x86]/eclass/x-modular.eclass
Gentoo

Diff of /eclass/x-modular.eclass

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

Revision 1.52 Revision 1.53
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.52 2006/04/03 23:49:32 spyderous Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.53 2006/04/20 23:43:48 spyderous Exp $
4# 4#
5# Author: Donnie Berkholz <spyderous@gentoo.org> 5# Author: Donnie Berkholz <spyderous@gentoo.org>
6# 6#
7# This eclass is designed to reduce code duplication in the modularized X11 7# This eclass is designed to reduce code duplication in the modularized X11
8# ebuilds. 8# ebuilds.
174 >=sys-apps/man-1.6b-r2" 174 >=sys-apps/man-1.6b-r2"
175# Provides virtual/x11 for temporary use until packages are ported 175# Provides virtual/x11 for temporary use until packages are ported
176# x11-base/x11-env" 176# x11-base/x11-env"
177 177
178x-modular_unpack_source() { 178x-modular_unpack_source() {
179 # (#120057) Enabling DRI in drivers requires that the server was built with
180 # support for it
181 if [[ -n "${DRIVER}" ]]; then
182 if has dri ${IUSE} && use dri; then
183 einfo "Checking for direct rendering capabilities ..."
184 if ! built_with_use x11-base/xorg-server dri; then
185 die "You must build x11-base/xorg-server with USE=dri."
186 fi
187 fi
188 fi
189
179 unpack ${A} 190 unpack ${A}
180 cd ${S} 191 cd ${S}
181 192
182 if [[ -n ${FONT_OPTIONS} ]]; then 193 if [[ -n ${FONT_OPTIONS} ]]; then
183 einfo "Detected font directory: ${FONT_DIR}" 194 einfo "Detected font directory: ${FONT_DIR}"

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.20