/[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.60 Revision 1.61
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.60 2006/05/23 17:50:30 spyderous Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.61 2006/06/28 02:20:31 joshuabaergen 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.
193 fi 193 fi
194 fi 194 fi
195 fi 195 fi
196} 196}
197 197
198x-modular_server_supports_drivers_check() {
199 # (#135873) Only certain servers will actually use or be capable of
200 # building external drivers, including binary drivers.
201 if [[ -n "${DRIVER}" ]]; then
202 if ! built_with_use x11-base/xorg-server xorg; then
203 eerror "x11-base/xorg-server is not built with support for external drivers."
204 die "You must build x11-base/xorg-server with USE=xorg."
205 fi
206 fi
207}
208
198x-modular_unpack_source() { 209x-modular_unpack_source() {
199 unpack ${A} 210 unpack ${A}
200 cd ${S} 211 cd ${S}
201 212
202 if [[ -n ${FONT_OPTIONS} ]]; then 213 if [[ -n ${FONT_OPTIONS} ]]; then
250 elibtoolize 261 elibtoolize
251} 262}
252 263
253x-modular_src_unpack() { 264x-modular_src_unpack() {
254 x-modular_specs_check 265 x-modular_specs_check
266 x-modular_server_supports_drivers_check
255 x-modular_dri_check 267 x-modular_dri_check
256 x-modular_unpack_source 268 x-modular_unpack_source
257 x-modular_patch_source 269 x-modular_patch_source
258 x-modular_reconf_source 270 x-modular_reconf_source
259} 271}

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

  ViewVC Help
Powered by ViewVC 1.1.20