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

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.123

  ViewVC Help
Powered by ViewVC 1.1.20