blob: 0682a91b25100dfd3b25d0434ca97ca24a7b3f3a [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="amd64 arm x86"
IUSE="synaptics multitouch mario cmt"
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 cmt ; then
newins "${FILESDIR}/touchpad.conf-cmt" touchpad.conf
elif 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
}