| 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.120 2010/09/09 11:19:51 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.121 2011/08/29 01:28:10 vapier 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 | # |
| … | |
… | |
| 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. |
| 547 | install_driver_hwdata() { |
547 | install_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, |