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: Mon, 26 Aug 2019 17:36:45
Message-Id: 1566840976.5364e87a621d5cbfc434bd936a867ed6be03df44.mattst88@gentoo
1 commit: 5364e87a621d5cbfc434bd936a867ed6be03df44
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 26 17:32:42 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 26 17:36:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5364e87a
7
8 dev-libs/libevdev: Version bump to 1.8.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.8.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 3d06bb4e49f..61c72584c52 100644
18 --- a/dev-libs/libevdev/Manifest
19 +++ b/dev-libs/libevdev/Manifest
20 @@ -1 +1,2 @@
21 DIST libevdev-1.7.0.tar.xz 438264 BLAKE2B 3f71ccdfbd68598afed7316dd4902a8ac439c6f094788abed5cb8ed24acaf070edaeceefad17de51cadb039259aa0de6a8ec576fa1f8dbd60878ee75aeb39fde SHA512 bc43723fd1ca251a77ee549022609f73c15a33ae470fc843ac687542fb1938fba4d046d3ee1dc814bc38a4292a7f2ad9e71fcce45525b518a4f4a5bef099aa6f
22 +DIST libevdev-1.8.0.tar.xz 439000 BLAKE2B 408c60669557419c945901da5f146302cf0cdc43ed74cf4dc8ff4a9c272319c49f644bf95acf3d8656173bfc2f3763a6cc172ee4707a7f0129d15449701e9449 SHA512 8d285632f4fe87c01e81f94e514bec4e37fed4bc44d6d38b9297dba1114e42f6ed8d143fc05f3d0e8d51b08b659e34481dc4c65f60421c54e2f3e11efbafdeb4
23
24 diff --git a/dev-libs/libevdev/libevdev-1.8.0.ebuild b/dev-libs/libevdev/libevdev-1.8.0.ebuild
25 new file mode 100644
26 index 00000000000..c32b139bc87
27 --- /dev/null
28 +++ b/dev-libs/libevdev/libevdev-1.8.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 +}