summaryrefslogtreecommitdiff
blob: d6fe225327cb2d53a6b578cf35adf1be640c21a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.6.0.ebuild,v 1.7 2011/03/05 18:09:14 xarthisius Exp $

EAPI=3
XORG_EAUTORECONF=yes

inherit xorg-2

DESCRIPTION="Generic Linux input driver"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
IUSE="utouch"

RDEPEND=">=x11-base/xorg-server-1.6.3"
DEPEND="${RDEPEND}
	>=sys-kernel/linux-headers-2.6
	x11-proto/inputproto
	x11-proto/xproto"

src_prepare() {
	if use utouch ; then
	        epatch "${FILESDIR}/xf86-input-evdev-xi2.1.patch"
		epatch "${FILESDIR}/xf86-input-evdev-gestures.patch"
	fi

        xorg-2_src_prepare
}

src_install() {
        xorg-2_src_install
}