summaryrefslogtreecommitdiff
blob: 498ba4f521bfd6d1932e352533f0bf3176ffac36 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

DESCRIPTION="Multitouch-X-Driver for MT-Touchpads"
HOMEPAGE="http://bitmath.org/code/multitouch/"
SRC_URI="http://github.com/rydberg/Multitouch-X-Driver/tarball/v${PV/_/-} -> ${P}.tar.gz"

S="${WORKDIR}/rydberg-Multitouch-X-Driver-90c1b69"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
	x11-base/xorg-server"
DEPEND="${RDEPEND}
	x11-proto/inputproto"

src_install() {
	emake DESTDIR="${D}" install
}

pkg_postinst() {
	echo
	elog "To enable multitouch support add the following lines"
	elog "to your xorg.conf:"
	elog ""
	elog "Section \"InputClass\""
	elog " MatchIsTouchpad \"true\""
	elog " Driver \"multitouch\""
	elog " Identifier \"touchpad\""
	elog "EndSection"
	elog ""
}