blob: 8e6482b0b9bdd172ec7357b1097a4dddb8586329 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# NOTE: This ebuild could be overridden in an overlay to provide a
# board-specific xorg.conf as necessary.
EAPI=2
DESCRIPTION="Board specific xorg configuration file."
LICENSE="BSD"
SLOT="0"
KEYWORDS="arm x86"
IUSE="synaptics multitouch mario"
RDEPEND=""
src_install() {
insinto /etc/X11
newins "${FILESDIR}/xorg.conf" xorg.conf
dodir /etc/X11/xorg.conf.d
insinto /etc/X11/xorg.conf.d
if use multitouch ; then
newins "${FILESDIR}/touchpad.conf-multitouch" touchpad.conf
elif use synaptics ; then
newins "${FILESDIR}/touchpad.conf-synaptics" touchpad.conf
elif use mario ; then
newins "${FILESDIR}/touchpad.conf-mario" touchpad.conf
else
newins "${FILESDIR}/touchpad.conf" touchpad.conf
fi
newins "${FILESDIR}/20-mouse.conf" 20-mouse.conf
newins "${FILESDIR}/30-keyboard.conf" 30-keyboard.conf
}