Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-input-evdev/
Date: Tue, 17 Jul 2018 14:15:46
Message-Id: 1531836921.382f34ce82f3f8aec3583bac347605139cb378d6.mattst88@gentoo
1 commit: 382f34ce82f3f8aec3583bac347605139cb378d6
2 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
3 AuthorDate: Tue Jul 17 00:30:26 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 17 14:15:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382f34ce
7
8 x11-drivers/xf86-input-evdev: add live ebuild
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 .../xf86-input-evdev/xf86-input-evdev-9999.ebuild | 51 ++++++++++++++++++++++
13 1 file changed, 51 insertions(+)
14
15 diff --git a/x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild b/x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild
16 new file mode 100644
17 index 00000000000..8905d3eea3f
18 --- /dev/null
19 +++ b/x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild
20 @@ -0,0 +1,51 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +inherit linux-info
27 +
28 +DESCRIPTION="Generic Linux input driver"
29 +HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/"
30 +
31 +if [[ ${PV} == 9999 ]]; then
32 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/driver/xf86-input-evdev.git"
33 + inherit autotools git-r3
34 + LIVE_DEPEND=">=x11-misc/util-macros-1.18"
35 +else
36 + SRC_URI="mirror://xorg/driver/${P}.tar.bz2"
37 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh sparc x86"
38 +fi
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +IUSE=""
43 +
44 +BDEPEND="
45 + virtual/pkgconfig
46 +"
47 +RDEPEND="
48 + dev-libs/libevdev
49 + sys-libs/mtdev
50 + virtual/libudev:=
51 + >=x11-base/xorg-server-1.18[udev]
52 +"
53 +DEPEND="
54 + ${LIVE_DEPEND}
55 + ${RDEPEND}
56 + >=sys-kernel/linux-headers-2.6
57 + x11-base/xorg-proto
58 + x11-misc/util-macros
59 +"
60 +
61 +pkg_pretend() {
62 + if use kernel_linux ; then
63 + CONFIG_CHECK="~INPUT_EVDEV"
64 + fi
65 + check_extra_config
66 +}
67 +
68 +src_prepare() {
69 + default
70 + [[ ${PV} == 9999 ]] && eautoreconf
71 +}