Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libevdev/
Date: Thu, 06 Jun 2019 00:15:53
Message-Id: 1559780084.ccf08d54c43e5bef81f316866800fe64153ecb5a.mattst88@gentoo
1 commit: ccf08d54c43e5bef81f316866800fe64153ecb5a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 6 00:14:34 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 6 00:14:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf08d54
7
8 dev-libs/libevdev: Version bump to 1.7.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/libevdev/Manifest | 1 +
13 dev-libs/libevdev/libevdev-1.7.0.ebuild | 48 +++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest
17 index 7b4b434b230..302912964e4 100644
18 --- a/dev-libs/libevdev/Manifest
19 +++ b/dev-libs/libevdev/Manifest
20 @@ -1 +1,2 @@
21 DIST libevdev-1.6.0.tar.xz 411512 BLAKE2B 0e9190fd4c28b36bcf325953aa634c0d8c604cef7f56e46679fc88351536d78b0bddedbbdfffe4164e0039c7d56ef604b143e23de2c4bb9a66653a03d6844fa9 SHA512 73046da447773716c9f0c9f511f3a0a6ababcf92a146eba363014afcbdb465f4c3cd8be0917f2f01561a72f24f20fe8ecd333467437d9d85c03afcb433d05060
22 +DIST libevdev-1.7.0.tar.xz 438264 BLAKE2B 3f71ccdfbd68598afed7316dd4902a8ac439c6f094788abed5cb8ed24acaf070edaeceefad17de51cadb039259aa0de6a8ec576fa1f8dbd60878ee75aeb39fde SHA512 bc43723fd1ca251a77ee549022609f73c15a33ae470fc843ac687542fb1938fba4d046d3ee1dc814bc38a4292a7f2ad9e71fcce45525b518a4f4a5bef099aa6f
23
24 diff --git a/dev-libs/libevdev/libevdev-1.7.0.ebuild b/dev-libs/libevdev/libevdev-1.7.0.ebuild
25 new file mode 100644
26 index 00000000000..c32b139bc87
27 --- /dev/null
28 +++ b/dev-libs/libevdev/libevdev-1.7.0.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2019 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
36 +
37 +inherit multilib-minimal python-any-r1
38 +
39 +DESCRIPTION="Handler library for evdev events"
40 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev"
41 +
42 +if [[ ${PV} == 9999* ]] ; then
43 + EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git"
44 + inherit autotools git-r3
45 +else
46 + SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
47 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
48 +fi
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +IUSE="doc static-libs"
53 +
54 +BDEPEND="
55 + ${PYTHON_DEPS}
56 + doc? ( app-doc/doxygen )
57 + virtual/pkgconfig
58 +"
59 +RESTRICT="test" # Tests need to run as root.
60 +
61 +src_prepare() {
62 + default
63 + [[ ${PV} == 9999* ]] && eautoreconf
64 +}
65 +
66 +multilib_src_configure() {
67 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
68 +}
69 +
70 +multilib_src_install() {
71 + default
72 + find "${D}" -name '*.la' -delete || die
73 + if use doc ;then
74 + local HTML_DOCS=( doc/html/. )
75 + einstalldocs
76 + fi
77 +}