blob: ad9679148940d1d94cda2bd91c1498bcc5a983aa (
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
34
35
36
37
38
39
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-synaptics/xf86-input-synaptics-1.0.0.ebuild,v 1.7 2009/09/16 08:13:53 remi Exp $
inherit toolchain-funcs eutils x-modular
DESCRIPTION="Driver for Synaptics touchpads"
HOMEPAGE="http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/"
KEYWORDS="amd64 ppc ppc64 x86"
LICENSE="MIT"
IUSE="hal"
RDEPEND="x11-libs/libXext
hal? ( sys-apps/hal )"
DEPEND="${RDEPEND}
!x11-drivers/synaptics
x11-base/xorg-server
x11-proto/inputproto
>=sys-apps/sed-4"
src_install() {
DOCS="INSTALL NEWS TODO README"
x-modular_src_install
if use hal ; then
insinto /usr/share/hal/fdi/policy/10osvendor
doins "${S}"/fdi/11-x11-synaptics.fdi
fi
}
pkg_postinst() {
elog "This driver requires event interface support in your kernel: INPUT_EVDEV"
if use hal ; then
elog "Synaptics settings are now stored in:"
elog "/etc/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi"
echo
ewarn "Please see the examples here for inspiration, but not edit:"
ewarn "/usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi"
fi
}
|