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-libinput/
Date: Tue, 17 Jul 2018 14:15:50
Message-Id: 1531836921.c9f04cd8699ea25578e88ee35e41bc5ea8ba33da.mattst88@gentoo
1 commit: c9f04cd8699ea25578e88ee35e41bc5ea8ba33da
2 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
3 AuthorDate: Tue Jul 17 00:31:58 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=c9f04cd8
7
8 x11-drivers/xf86-input-libinput: add live ebuild
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 .../xf86-input-libinput-9999.ebuild | 50 ++++++++++++++++++++++
13 1 file changed, 50 insertions(+)
14
15 diff --git a/x11-drivers/xf86-input-libinput/xf86-input-libinput-9999.ebuild b/x11-drivers/xf86-input-libinput/xf86-input-libinput-9999.ebuild
16 new file mode 100644
17 index 00000000000..b3ca6c70ccb
18 --- /dev/null
19 +++ b/x11-drivers/xf86-input-libinput/xf86-input-libinput-9999.ebuild
20 @@ -0,0 +1,50 @@
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="X.org input driver based on libinput"
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-libinput.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 ~s390 ~sparc ~x86"
38 +fi
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +IUSE=""
43 +
44 +BDEPEND="
45 + virtual/pkgconfig
46 +"
47 +RDEPEND="
48 + >=x11-base/xorg-server-1.10:=
49 + >=dev-libs/libinput-1.5.0:0=
50 +"
51 +DEPEND="
52 + ${LIVE_DEPEND}
53 + ${RDEPEND}
54 + x11-base/xorg-proto
55 +"
56 +
57 +pkg_pretend() {
58 + CONFIG_CHECK="~TIMERFD"
59 + check_extra_config
60 +}
61 +
62 +src_prepare() {
63 + default
64 + [[ ${PV} == 9999 ]] && eautoreconf
65 +}
66 +
67 +src_install() {
68 + default
69 + find "${D}" -name '*.la' -delete || die
70 +}