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: Sat, 26 Mar 2022 01:18:22
Message-Id: 1648257494.9922c67637ae0cb82fc45c0d03326817067c0929.mattst88@gentoo
1 commit: 9922c67637ae0cb82fc45c0d03326817067c0929
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 01:16:08 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 01:18:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9922c676
7
8 dev-libs/libevdev: Version bump to 1.12.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/libevdev/Manifest | 1 +
13 dev-libs/libevdev/libevdev-1.12.1.ebuild | 50 ++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest
17 index c9983ec38cae..488a48547d53 100644
18 --- a/dev-libs/libevdev/Manifest
19 +++ b/dev-libs/libevdev/Manifest
20 @@ -1 +1,2 @@
21 DIST libevdev-1.12.0.tar.xz 443716 BLAKE2B 1df548cc9bc2472c88308eb2794df7d5636d498631b8873a1957f5cc959097235e64f46f61285a3cbe1abbfe1d968946ae181dfcd8150fecfddf212ed7f4e07e SHA512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c
22 +DIST libevdev-1.12.1.tar.xz 446476 BLAKE2B 3b73c50b5e0bdf6dac001c7e34338ece2ba796af711d8f6f9c2928f93a8f41ee484e067c3cb02878de49d631de87229d4b1a377123e385af5997e11f7c556510 SHA512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4
23
24 diff --git a/dev-libs/libevdev/libevdev-1.12.1.ebuild b/dev-libs/libevdev/libevdev-1.12.1.ebuild
25 new file mode 100644
26 index 000000000000..87b1d58afa37
27 --- /dev/null
28 +++ b/dev-libs/libevdev/libevdev-1.12.1.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +
37 +inherit meson-multilib 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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~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
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_test() {
71 + meson_src_test -t 100
72 +}
73 +
74 +multilib_src_install_all() {
75 + if use doc; then
76 + local HTML_DOCS=( doc/html/. )
77 + einstalldocs
78 + fi
79 +}