/[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.120 Revision 1.124
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2011 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.120 2010/09/09 11:19:51 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.124 2011/12/27 17:55:13 fauli Exp $
4# 4#
5# @DEPRECATED 5# @DEPRECATED
6# This eclass has been superseded by xorg-2 6# This eclass has been superseded by xorg-2
7# Please modify your ebuilds to use that instead 7# Please modify your ebuilds to use that instead
8# 8#
9# @ECLASS: x-modular.eclass 9# @ECLASS: x-modular.eclass
10# @MAINTAINER: 10# @MAINTAINER:
11# Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org 11# Donnie Berkholz <dberkholz@gentoo.org>
12# x11@gentoo.org
12# @BLURB: Reduces code duplication in the modularized X11 ebuilds. 13# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
13# @DESCRIPTION: 14# @DESCRIPTION:
14# This eclass makes trivial X ebuilds possible for apps, fonts, drivers, 15# This eclass makes trivial X ebuilds possible for apps, fonts, drivers,
15# and more. Many things that would normally be done in various functions 16# and more. Many things that would normally be done in various functions
16# can be accessed by setting variables instead, such as patching, 17# can be accessed by setting variables instead, such as patching,
180DEPEND="${DEPEND} 181DEPEND="${DEPEND}
181 >=dev-util/pkgconfig-0.18" 182 >=dev-util/pkgconfig-0.18"
182 183
183if [[ "${PN/util-macros}" = "${PN}" ]]; then 184if [[ "${PN/util-macros}" = "${PN}" ]]; then
184 DEPEND="${DEPEND} 185 DEPEND="${DEPEND}
185 >=x11-misc/util-macros-1.3.0 186 >=x11-misc/util-macros-1.3.0"
186 sys-devel/binutils"
187fi 187fi
188 188
189RDEPEND="${RDEPEND} 189RDEPEND="${RDEPEND}
190 !<=x11-base/xorg-x11-6.9" 190 !<=x11-base/xorg-x11-6.9"
191# Provides virtual/x11 for temporary use until packages are ported 191# Provides virtual/x11 for temporary use until packages are ported
540} 540}
541 541
542# @FUNCTION: install_driver_hwdata 542# @FUNCTION: install_driver_hwdata
543# @USAGE: 543# @USAGE:
544# @DESCRIPTION: 544# @DESCRIPTION:
545# Installs device-to-driver mappings for system-config-display and 545# Installs device-to-driver mappings for system-config-display and
546# anything else that uses hwdata. 546# anything else that uses hwdata.
547install_driver_hwdata() { 547install_driver_hwdata() {
548 insinto /usr/share/hwdata/videoaliases 548 insinto /usr/share/hwdata/videoaliases
549 for i in "${FILESDIR}"/*.xinf; do 549 for i in "${FILESDIR}"/*.xinf; do
550 # We need this for the case when none exist, 550 # We need this for the case when none exist,

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.124

  ViewVC Help
Powered by ViewVC 1.1.20