/[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.51 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.51 2006/04/03 02:03:04 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}"
311 install 322 install
312# Shouldn't be necessary in XDIR=/usr 323# Shouldn't be necessary in XDIR=/usr
313# einstall forces datadir, so we need to re-force it 324# einstall forces datadir, so we need to re-force it
314# datadir=${XDIR}/share \ 325# datadir=${XDIR}/share \
315# mandir=${XDIR}/share/man \ 326# mandir=${XDIR}/share/man \
327
328 # Make sure docs get compressed
329 prepalldocs
316 330
317 # Don't install libtool archives for server modules 331 # Don't install libtool archives for server modules
318 if [[ -e ${D}/usr/lib/xorg/modules ]]; then 332 if [[ -e ${D}/usr/lib/xorg/modules ]]; then
319 find ${D}/usr/lib/xorg/modules -name '*.la' \ 333 find ${D}/usr/lib/xorg/modules -name '*.la' \
320 | xargs rm -f 334 | xargs rm -f

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

  ViewVC Help
Powered by ViewVC 1.1.20