| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.6.2.ebuild,v 1.5 2012/07/12 17:29:59 ranger Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit linux-info xorg-2
|
| 8 |
|
| 9 |
DESCRIPTION="Driver for Synaptics touchpads"
|
| 10 |
HOMEPAGE="http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/"
|
| 11 |
|
| 12 |
KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86"
|
| 13 |
IUSE=""
|
| 14 |
|
| 15 |
RDEPEND="sys-libs/mtdev
|
| 16 |
>=x11-base/xorg-server-1.8
|
| 17 |
>=x11-libs/libXi-1.2
|
| 18 |
>=x11-libs/libXtst-1.1.0"
|
| 19 |
DEPEND="${RDEPEND}
|
| 20 |
>=sys-kernel/linux-headers-2.6.37
|
| 21 |
>=x11-proto/recordproto-1.14"
|
| 22 |
|
| 23 |
DOCS=( "README" )
|
| 24 |
|
| 25 |
pkg_pretend() {
|
| 26 |
linux-info_pkg_setup
|
| 27 |
# Just a friendly warning
|
| 28 |
if ! linux_config_exists \
|
| 29 |
|| ! linux_chkconfig_present INPUT_EVDEV; then
|
| 30 |
echo
|
| 31 |
ewarn "This driver requires event interface support in your kernel"
|
| 32 |
ewarn " Device Drivers --->"
|
| 33 |
ewarn " Input device support --->"
|
| 34 |
ewarn " <*> Event interface"
|
| 35 |
echo
|
| 36 |
fi
|
| 37 |
}
|