blob: 7d85cca0f2b794dcf1d34e9a81c16c5db173d5c6 (
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
40
41
42
43
44
45
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit vcs-snapshot
DESCRIPTION="Xorg Driver for Multitouch Trackpads"
HOMEPAGE="https://github.com/p2rkw/xf86-input-mtrack"
SRC_URI="https://github.com/p2rkw/xf86-input-mtrack/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
IUSE="debug"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
RDEPEND=">=sys-libs/mtdev-1.0
x11-base/xorg-server:="
DEPEND="${RDEPEND}
x11-base/xorg-proto"
DOCS=( "README.md" )
src_configure() {
econf \
$(use_enable debug)
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {
elog
elog "To enable multitouch support add the following lines"
elog "to your xorg.conf:"
elog ""
elog "Section \"InputClass\""
elog " MatchIsTouchpad \"true\""
elog " Identifier \"Touchpads\""
elog " Driver \"mtrack\""
elog "EndSection"
elog
}
|