| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
| 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 | 3 |
| 4 # NOTE: This ebuild should be overrriden in an overlay to provide a | 4 # NOTE: This ebuild should be overrriden in an overlay to provide a |
| 5 # board-specific xorg.conf as necessary. | 5 # board-specific xorg.conf as necessary. |
| 6 | 6 |
| 7 EAPI=2 | 7 EAPI=2 |
| 8 | 8 |
| 9 DESCRIPTION="Board specific xorg configuration file." | 9 DESCRIPTION="Board specific xorg configuration file." |
| 10 | 10 |
| 11 LICENSE="BSD" | 11 LICENSE="BSD" |
| 12 SLOT="0" | 12 SLOT="0" |
| 13 KEYWORDS="arm x86" | 13 KEYWORDS="arm x86" |
| 14 IUSE="synaptics" | 14 IUSE="synaptics multitouch" |
| 15 | 15 |
| 16 RDEPEND="" | 16 RDEPEND="" |
| 17 | 17 |
| 18 src_install() { | 18 src_install() { |
| 19 insinto /etc/X11 | 19 insinto /etc/X11 |
| 20 » if use synaptics ; then | 20 » if use multitouch ; then |
| 21 » » newins "${FILESDIR}/xorg.conf-multitouch-${PV}" xorg.conf |
| 22 » elif use synaptics ; then |
| 21 newins "${FILESDIR}/xorg.conf-synaptics-${PV}" xorg.conf | 23 newins "${FILESDIR}/xorg.conf-synaptics-${PV}" xorg.conf |
| 22 else | 24 else |
| 23 newins "${FILESDIR}/xorg.conf-${PV}" xorg.conf | 25 newins "${FILESDIR}/xorg.conf-${PV}" xorg.conf |
| 24 fi | 26 fi |
| 25 } | 27 } |
| OLD | NEW |