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, 06 Aug 2022 04:31:29
Message-Id: 1659760281.bfcba9a72a0c6a0028f4455745f7b1318dca5637.mattst88@gentoo
1 commit: bfcba9a72a0c6a0028f4455745f7b1318dca5637
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 6 04:28:34 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 6 04:31:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfcba9a7
7
8 dev-libs/libevdev: Version bump to 1.13.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.13.0.ebuild | 50 ++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest
17 index 840cf81147dd..9f32029ff8da 100644
18 --- a/dev-libs/libevdev/Manifest
19 +++ b/dev-libs/libevdev/Manifest
20 @@ -1 +1,2 @@
21 DIST libevdev-1.12.1.tar.xz 446476 BLAKE2B 3b73c50b5e0bdf6dac001c7e34338ece2ba796af711d8f6f9c2928f93a8f41ee484e067c3cb02878de49d631de87229d4b1a377123e385af5997e11f7c556510 SHA512 eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4
22 +DIST libevdev-1.13.0.tar.xz 451328 BLAKE2B 07b15bf46ca3b01d9a93da8d93fd60b2f1eb95961f0f202a321030e145528453375f1e4fa3458adac3f3346cc26642538251b35002f18f9802799e4732d39f3e SHA512 f30f14c44ef4d4829625aa4c28f10555f333905486f9d39c18cd3ca35e87128a0c24c1bc18ca37b6bf98bc8f7fad27e1bc68678a58e6e6fff3b8d99502ac6905
23
24 diff --git a/dev-libs/libevdev/libevdev-1.13.0.ebuild b/dev-libs/libevdev/libevdev-1.13.0.ebuild
25 new file mode 100644
26 index 000000000000..9f3d0d16e6a3
27 --- /dev/null
28 +++ b/dev-libs/libevdev/libevdev-1.13.0.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..11} )
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 ~loong ~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 +}