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/libinput/
Date: Thu, 01 Mar 2018 04:48:14
Message-Id: 1519879670.d45e30d722f95c145b0d12afde2b5eb07e3bbf58.mattst88@gentoo
1 commit: d45e30d722f95c145b0d12afde2b5eb07e3bbf58
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 04:47:46 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 04:47:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45e30d7
7
8 dev-libs/libinput: Version bump to 1.10.1
9
10 dev-libs/libinput/Manifest | 1 +
11 dev-libs/libinput/libinput-1.10.1.ebuild | 56 ++++++++++++++++++++++++++++++++
12 2 files changed, 57 insertions(+)
13
14 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
15 index 92883f94da0..66ae6a05146 100644
16 --- a/dev-libs/libinput/Manifest
17 +++ b/dev-libs/libinput/Manifest
18 @@ -1,4 +1,5 @@
19 DIST libinput-1.10.0.tar.xz 491444 BLAKE2B bd7f4a68cd1ebc981cb16f402c8ea6a7bd99d7bbf289fe07923400a5bf9e259b3726c5c1765d5e31fe09b95cf9eadc88769c578d6be0f2fee4c12455d44d6d70 SHA512 173f72f454c534dee755b6121c4577900ae9b8a129ac41de69410c3195950a6d149d6148892c4976f013eeabca66117d53fa67e352cc005960863a5576696928
20 +DIST libinput-1.10.1.tar.xz 495644 BLAKE2B 50044d59992ddefd4c1143288025d4510bbda8540e93737d9a78108413d77e06838a2de283a8aff2ca40d74327bc509523b847503d2f8b4bbddff10986f83f90 SHA512 69e7cd12f3d686d1b09afd93fe072ddd6f8c9a1f04c0a651c7dd02c5a20b3f8163c5b787b41bf3ae91db0da7d3e2958d315d6c9a2875259c62b0d290ac89d1fb
21 DIST libinput-1.7.3.tar.xz 922464 BLAKE2B fa38675905af55931676c22d9e4d56befbb055fba56ba13c61a1917050bc1eb62bcfe1d078b478047006d4c0d06d83186d0d6739cbf9dc49acce487ccb0b7e3a SHA512 2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b
22 DIST libinput-1.8.3.tar.xz 941832 BLAKE2B cf6464d68387cca23d0f70eaceeec8b453c53f1cac22892722d48983788b43a136617c62ad39c8d435bbf07c0cb9cd720250ea91e31f10526acd5147b1d78237 SHA512 88006d217e3507858fa6b9ac1f25c267255fb51d1bcf1208d2afd423bf2a9292944bc5526ea91f27fad3ff04c2f9f43ab3aa25fd9fb7ace1231ecd33ddf18de6
23 DIST libinput-1.9.4.tar.xz 472636 BLAKE2B 692a23047cb0b54d14763b34ce3ce1414101d0097dce10d237ec32a67f29c31cbf2928681084f7561e072e555c932f0e3bc54cfb0ecbcdd0d823426806e357b6 SHA512 302f9497ea9ffb2163c643e9ca2f0a773ea141f6fe0a3aa3d8e86eb11a5d11e75d858b1e679ebfd3f913c645beac059cfd356b37c4ea17a8853068f79a740a4b
24
25 diff --git a/dev-libs/libinput/libinput-1.10.1.ebuild b/dev-libs/libinput/libinput-1.10.1.ebuild
26 new file mode 100644
27 index 00000000000..44cea37f06a
28 --- /dev/null
29 +++ b/dev-libs/libinput/libinput-1.10.1.ebuild
30 @@ -0,0 +1,56 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +inherit meson udev
36 +
37 +DESCRIPTION="Library to handle input devices in Wayland"
38 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
39 +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
40 +
41 +LICENSE="MIT"
42 +SLOT="0/10"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
44 +IUSE="doc input_devices_wacom test"
45 +# Tests require write access to udev rules directory which is a no-no for live system.
46 +# Other tests are just about logs, exported symbols and autotest of the test library.
47 +RESTRICT="test"
48 +
49 +RDEPEND="
50 + input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
51 + >=dev-libs/libevdev-1.3
52 + >=sys-libs/mtdev-1.1
53 + virtual/libudev
54 +"
55 +DEPEND="${RDEPEND}
56 + virtual/pkgconfig
57 + doc? (
58 + >=app-doc/doxygen-1.8.3
59 + >=media-gfx/graphviz-2.38.0
60 + )
61 +"
62 +# test? (
63 +# >=dev-libs/check-0.9.10
64 +# dev-util/valgrind
65 +# sys-libs/libunwind )
66 +
67 +src_configure() {
68 + # gui can be built but will not be installed
69 + local emesonargs=(
70 + -Ddebug-gui=false
71 + -Ddocumentation="$(usex doc true false)"
72 + -Dlibwacom="$(usex input_devices_wacom true false)"
73 + -Dtests="$(usex test true false)"
74 + -Dudev-dir="$(get_udevdir)"
75 + )
76 + meson_src_configure
77 +}
78 +
79 +src_install() {
80 + meson_src_install
81 + if use doc ; then
82 + docinto html
83 + dodoc -r "${BUILD_DIR}"/html/.
84 + fi
85 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
86 +}