Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/
Date: Thu, 04 Oct 2018 19:49:06
Message-Id: 1538682510.529caf2f168704259b67140b249e27c8d9972c49.zlogene@gentoo
1 commit: 529caf2f168704259b67140b249e27c8d9972c49
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 4 19:48:13 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 4 19:48:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529caf2f
7
8 dev-libs/libinput: Version bump (v1.12.1)
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 dev-libs/libinput/Manifest | 1 +
14 dev-libs/libinput/libinput-1.12.1.ebuild | 60 ++++++++++++++++++++++++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
18 index 23a5becb0df..4fedfac7c75 100644
19 --- a/dev-libs/libinput/Manifest
20 +++ b/dev-libs/libinput/Manifest
21 @@ -1,3 +1,4 @@
22 DIST libinput-1.10.7.tar.xz 494648 BLAKE2B ddcbe5f54b90f8291c16e5912fa3d673fb2c66f0247c9d771f7c2dfeeef9b51404f31d7ac99cfd20b37e1d01d6b2b3bc95155ab6581c6a94e922e153d9098892 SHA512 b102b8065ceed7511ad26efba34d5d9b0c13f0f7aaa882bb21501f7a5166f4cbe140fcbb488e90e6880bd47bb2b27667a4d6aa79b8726269fa1337897034a684
23 DIST libinput-1.11.3.tar.xz 487408 BLAKE2B 38dc14cf018ca59279e8b6e85fd91f4b29545b4a55ab968cb11d9a8afc8d80c311efc6e57339b9baa9fb270f52cfb0758ff8ea313991867c35f3da47910977ac SHA512 5e18daab6202bcbfddeebc35dac4cabb5f726b5b73f5fc87975b58f3019a54a4b1f506a3200e920638ddddfb978a0b96c23c2e90b081942f86d33c16d4836949
24 DIST libinput-1.12.0.tar.xz 519320 BLAKE2B b40036740350180ca0e183088651647e3604bca236ab27c99a941934b27ed67a21d8596be9baab68dd798dea9c5967cca3a038623ba2870dc2ad3db8336e0b96 SHA512 4aee877785f9ac080e4f8ee20f3643bc4f3ddbc568aca6c363a962f8c8f76b8db7dc113c8167092f0277d112346a85b9a7e7c3c3f227ed243aaba32c9092c924
25 +DIST libinput-1.12.1.tar.xz 520072 BLAKE2B 2d2b2d82f27ac01ff25b3bf6fd7b77ca56467ab818cdc5d4a641629fed623ef5042915889f54f71b1881595af1d85770bbf4ecfd798c079878efa0a0546c4a36 SHA512 de1714526ee1244e3086729efa5b72724b2b989fa8d04418e633d1ef5a8ea777ae3cd4b8c5b015ca0da2b8cf5b07111bff2283c7d6068abcdfa81c3f71b81d68
26
27 diff --git a/dev-libs/libinput/libinput-1.12.1.ebuild b/dev-libs/libinput/libinput-1.12.1.ebuild
28 new file mode 100644
29 index 00000000000..e4f4f74efb7
30 --- /dev/null
31 +++ b/dev-libs/libinput/libinput-1.12.1.ebuild
32 @@ -0,0 +1,60 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit meson udev
38 +
39 +DESCRIPTION="Library to handle input devices in Wayland"
40 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
41 +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0/10"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
46 +IUSE="doc input_devices_wacom"
47 +# Tests require write access to udev rules directory which is a no-no for live system.
48 +# Other tests are just about logs, exported symbols and autotest of the test library.
49 +RESTRICT="test"
50 +
51 +RDEPEND="
52 + input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
53 + >=dev-libs/libevdev-1.3
54 + >=sys-libs/mtdev-1.1
55 + virtual/libudev:=
56 + virtual/udev
57 +"
58 +DEPEND="${RDEPEND}
59 + virtual/pkgconfig
60 + doc? (
61 + >=app-doc/doxygen-1.8.3
62 + >=media-gfx/graphviz-2.38.0
63 + )
64 +"
65 +# test? (
66 +# >=dev-libs/check-0.9.10
67 +# dev-util/valgrind
68 +# sys-libs/libunwind )
69 +
70 +src_configure() {
71 + # gui can be built but will not be installed
72 + local emesonargs=(
73 + -Ddebug-gui=false
74 + $(meson_use doc documentation)
75 + $(meson_use input_devices_wacom libwacom)
76 + -Dtests=false # tests are restricted
77 + -Dudev-dir="$(get_udevdir)"
78 + )
79 + meson_src_configure
80 +}
81 +
82 +src_install() {
83 + meson_src_install
84 + if use doc ; then
85 + docinto html
86 + dodoc -r "${BUILD_DIR}"/html/.
87 + fi
88 +}
89 +
90 +pkg_postinst() {
91 + udevadm hwdb --update --root="${ROOT%/}"
92 +}