Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/
Date: Thu, 02 Aug 2018 08:09:50
Message-Id: 1533195549.31bc862d4c032adb51f1f42794e640c4d4331d91.polynomial-c@gentoo
1 commit: 31bc862d4c032adb51f1f42794e640c4d4331d91
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 1 12:26:52 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 07:39:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31bc862d
7
8 dev-libs/libinput: Bump to version 1.11.3
9
10 Package-Manager: Portage-2.3.44, Repoman-2.3.10
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.11.3.ebuild | 61 ++++++++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
17 index 6dc1f8e19a6..93ea6293e14 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -2,3 +2,4 @@ DIST libinput-1.10.6.tar.xz 495536 BLAKE2B 3f23808635406eeb66cd6b4ce2a2dbaed69ee
21 DIST libinput-1.10.7.tar.xz 494648 BLAKE2B ddcbe5f54b90f8291c16e5912fa3d673fb2c66f0247c9d771f7c2dfeeef9b51404f31d7ac99cfd20b37e1d01d6b2b3bc95155ab6581c6a94e922e153d9098892 SHA512 b102b8065ceed7511ad26efba34d5d9b0c13f0f7aaa882bb21501f7a5166f4cbe140fcbb488e90e6880bd47bb2b27667a4d6aa79b8726269fa1337897034a684
22 DIST libinput-1.11.1.tar.xz 485064 BLAKE2B 15ab0fddee37323f3df0b52e297ac5b0995e7db6531854852a21c7182474df0ffb136886e3d305d987dcb4f82e9f1cf3724e2f34448ef40ed1df10bd27cb2218 SHA512 3dd1a318c89d66f5a66016c6dbfa5277b61a8cb5337d99f85b1eeef40ed894bdc04fd4588a97383988daea0f034df5a72bff318325320a01b857db9deb94a2b0
23 DIST libinput-1.11.2.tar.xz 485600 BLAKE2B 97b07493693e24be1bde3e7792c83c33b9ed4d64afbbecc1a5b77b4470fe9ff03cfbb2b4dc36f6cc5a9d58003410797979d7fbbb539d921bb9cddb5f8fb1cf0e SHA512 cb6ada877fc3c09f634f3db39d5507e66d4b86c3d632bb8f7498c7b01fdf8372b2053a79b641293900b7fcc0aa4e920f7c830d9c7b2d9ff3cd61c58eb7c20b65
24 +DIST libinput-1.11.3.tar.xz 487408 BLAKE2B 38dc14cf018ca59279e8b6e85fd91f4b29545b4a55ab968cb11d9a8afc8d80c311efc6e57339b9baa9fb270f52cfb0758ff8ea313991867c35f3da47910977ac SHA512 5e18daab6202bcbfddeebc35dac4cabb5f726b5b73f5fc87975b58f3019a54a4b1f506a3200e920638ddddfb978a0b96c23c2e90b081942f86d33c16d4836949
25
26 diff --git a/dev-libs/libinput/libinput-1.11.3.ebuild b/dev-libs/libinput/libinput-1.11.3.ebuild
27 new file mode 100644
28 index 00000000000..0635ed1b8fa
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.11.3.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit meson udev
37 +
38 +DESCRIPTION="Library to handle input devices in Wayland"
39 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
40 +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0/10"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
45 +IUSE="doc input_devices_wacom test"
46 +# Tests require write access to udev rules directory which is a no-no for live system.
47 +# Other tests are just about logs, exported symbols and autotest of the test library.
48 +RESTRICT="test"
49 +
50 +RDEPEND="
51 + input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
52 + >=dev-libs/libevdev-1.3
53 + >=sys-libs/mtdev-1.1
54 + virtual/libudev:=
55 + virtual/udev
56 +"
57 +DEPEND="${RDEPEND}
58 + virtual/pkgconfig
59 + doc? (
60 + >=app-doc/doxygen-1.8.3
61 + >=media-gfx/graphviz-2.38.0
62 + )
63 +"
64 +# test? (
65 +# >=dev-libs/check-0.9.10
66 +# dev-util/valgrind
67 +# sys-libs/libunwind )
68 +
69 +src_configure() {
70 + # gui can be built but will not be installed
71 + local emesonargs=(
72 + -Ddebug-gui=false
73 + -Ddocumentation="$(usex doc true false)"
74 + -Dlibwacom="$(usex input_devices_wacom true false)"
75 + -Dtests="$(usex test true false)"
76 + -Dudev-dir="$(get_udevdir)"
77 + )
78 + meson_src_configure
79 +}
80 +
81 +src_install() {
82 + meson_src_install
83 + if use doc ; then
84 + docinto html
85 + dodoc -r "${BUILD_DIR}"/html/.
86 + fi
87 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
88 +}
89 +
90 +pkg_postinst() {
91 + udevadm hwdb --update --root="${ROOT%/}"
92 +}