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: Fri, 22 Jun 2018 10:58:06
Message-Id: 1529665077.b86deaa19368a7addfc91901128eaa283314e980.polynomial-c@gentoo
1 commit: b86deaa19368a7addfc91901128eaa283314e980
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 22 10:57:35 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 22 10:57:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86deaa1
7
8 dev-libs/libinput: Bump to version 1.11.1
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.11.1.ebuild | 61 ++++++++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
17 index 807098601ec..a388032af6f 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -1,3 +1,4 @@
21 DIST libinput-1.10.6.tar.xz 495536 BLAKE2B 3f23808635406eeb66cd6b4ce2a2dbaed69ee0917045f75ad262a59702d72923493b6faa7951ea3f7cc2591d4c9e1fc49cffc53b6dfbcb2aadc7b9f40c20517b SHA512 b76963c3429c5590ee04f1da94d08775c8bb8584830e678804fb1d4cf0e2af84826782eae71fdd57492461f85df87ac2fc940c280b0672c75cd81d5f34702fe4
22 DIST libinput-1.10.7.tar.xz 494648 BLAKE2B ddcbe5f54b90f8291c16e5912fa3d673fb2c66f0247c9d771f7c2dfeeef9b51404f31d7ac99cfd20b37e1d01d6b2b3bc95155ab6581c6a94e922e153d9098892 SHA512 b102b8065ceed7511ad26efba34d5d9b0c13f0f7aaa882bb21501f7a5166f4cbe140fcbb488e90e6880bd47bb2b27667a4d6aa79b8726269fa1337897034a684
23 DIST libinput-1.11.0.tar.xz 485976 BLAKE2B f0bd88463b6aba7bfcf80d3354e53fe86e367a29055e295621d84175720544af035cc6303a2777d6ac4535d4706c41fa435a3a5a3abd20eb9ad33366dad4eae8 SHA512 382a6c9ec4aaf13ac209ee5a7f507c7a6d2dd399c5104703ac7c6ac62fb3f393de6f4e15d7895b18c8b8d845ce8fc1f551a90aa7532f0de4cc17e57a09cfe857
24 +DIST libinput-1.11.1.tar.xz 485064 BLAKE2B 15ab0fddee37323f3df0b52e297ac5b0995e7db6531854852a21c7182474df0ffb136886e3d305d987dcb4f82e9f1cf3724e2f34448ef40ed1df10bd27cb2218 SHA512 3dd1a318c89d66f5a66016c6dbfa5277b61a8cb5337d99f85b1eeef40ed894bdc04fd4588a97383988daea0f034df5a72bff318325320a01b857db9deb94a2b0
25
26 diff --git a/dev-libs/libinput/libinput-1.11.1.ebuild b/dev-libs/libinput/libinput-1.11.1.ebuild
27 new file mode 100644
28 index 00000000000..0635ed1b8fa
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.11.1.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 +}