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: Wed, 04 Mar 2020 20:45:29
Message-Id: 1583354693.51622a3b16447800fde199c61de42d379d9680bd.mattst88@gentoo
1 commit: 51622a3b16447800fde199c61de42d379d9680bd
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 4 19:58:29 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 4 20:44:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51622a3b
7
8 dev-libs/libevdev: Version bump to 1.9.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.9.0.ebuild | 58 +++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest
17 index 194c585471d..67e4a1a2463 100644
18 --- a/dev-libs/libevdev/Manifest
19 +++ b/dev-libs/libevdev/Manifest
20 @@ -1 +1,2 @@
21 DIST libevdev-1.8.0.tar.xz 439000 BLAKE2B 408c60669557419c945901da5f146302cf0cdc43ed74cf4dc8ff4a9c272319c49f644bf95acf3d8656173bfc2f3763a6cc172ee4707a7f0129d15449701e9449 SHA512 8d285632f4fe87c01e81f94e514bec4e37fed4bc44d6d38b9297dba1114e42f6ed8d143fc05f3d0e8d51b08b659e34481dc4c65f60421c54e2f3e11efbafdeb4
22 +DIST libevdev-1.9.0.tar.xz 443208 BLAKE2B 858567ec82f20d567f66d0c41bd1519ffd023a0374e346cff270a0bae0b5136a469a4fd56fcbd3d53b2a2ace6166821ec5e75c90e08eb347331e7974865ceda7 SHA512 6e7589b5776437ac23fbf65b3194fb1dd3a68a294696145060cdd97bcdeb9b04f355f2be028dc1a5efe98ef2cafca15e4f61115edf5d62591e3a8944dc95942a
23
24 diff --git a/dev-libs/libevdev/libevdev-1.9.0.ebuild b/dev-libs/libevdev/libevdev-1.9.0.ebuild
25 new file mode 100644
26 index 00000000000..c975e202b80
27 --- /dev/null
28 +++ b/dev-libs/libevdev/libevdev-1.9.0.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{6,7,8} )
36 +
37 +inherit meson 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 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 test"
53 +
54 +DEPEND="test? ( dev-libs/check[${MULTILIB_USEDEP}] )"
55 +BDEPEND="
56 + ${PYTHON_DEPS}
57 + doc? ( app-doc/doxygen )
58 + virtual/pkgconfig[${MULTILIB_USEDEP}]
59 +"
60 +RESTRICT="!test? ( test )"
61 +
62 +multilib_src_configure() {
63 + local emesonargs=(
64 + $(meson_feature doc documentation)
65 + $(meson_feature test tests)
66 + )
67 + meson_src_configure
68 +}
69 +
70 +multilib_src_compile() {
71 + meson_src_compile
72 +}
73 +
74 +multilib_src_test() {
75 + meson_src_test
76 +}
77 +
78 +multilib_src_install() {
79 + meson_src_install
80 +}
81 +
82 +multilib_src_install_all() {
83 + if use doc; then
84 + local HTML_DOCS=( doc/html/. )
85 + einstalldocs
86 + fi
87 +}