Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/
Date: Thu, 15 Feb 2018 00:50:20
Message-Id: 1518655796.b1225322b434ff846e60b2b0652d63fad6e798a4.mrueg@gentoo
1 commit: b1225322b434ff846e60b2b0652d63fad6e798a4
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 15 00:49:56 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 15 00:49:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1225322
7
8 dev-libs/libinput: Version bump to 1.10.0
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.10.0.ebuild | 56 ++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
17 index eb00e43405e..92883f94da0 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -1,3 +1,4 @@
21 +DIST libinput-1.10.0.tar.xz 491444 BLAKE2B bd7f4a68cd1ebc981cb16f402c8ea6a7bd99d7bbf289fe07923400a5bf9e259b3726c5c1765d5e31fe09b95cf9eadc88769c578d6be0f2fee4c12455d44d6d70 SHA512 173f72f454c534dee755b6121c4577900ae9b8a129ac41de69410c3195950a6d149d6148892c4976f013eeabca66117d53fa67e352cc005960863a5576696928
22 DIST libinput-1.7.3.tar.xz 922464 BLAKE2B fa38675905af55931676c22d9e4d56befbb055fba56ba13c61a1917050bc1eb62bcfe1d078b478047006d4c0d06d83186d0d6739cbf9dc49acce487ccb0b7e3a SHA512 2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b
23 DIST libinput-1.8.3.tar.xz 941832 BLAKE2B cf6464d68387cca23d0f70eaceeec8b453c53f1cac22892722d48983788b43a136617c62ad39c8d435bbf07c0cb9cd720250ea91e31f10526acd5147b1d78237 SHA512 88006d217e3507858fa6b9ac1f25c267255fb51d1bcf1208d2afd423bf2a9292944bc5526ea91f27fad3ff04c2f9f43ab3aa25fd9fb7ace1231ecd33ddf18de6
24 DIST libinput-1.9.4.tar.xz 472636 BLAKE2B 692a23047cb0b54d14763b34ce3ce1414101d0097dce10d237ec32a67f29c31cbf2928681084f7561e072e555c932f0e3bc54cfb0ecbcdd0d823426806e357b6 SHA512 302f9497ea9ffb2163c643e9ca2f0a773ea141f6fe0a3aa3d8e86eb11a5d11e75d858b1e679ebfd3f913c645beac059cfd356b37c4ea17a8853068f79a740a4b
25
26 diff --git a/dev-libs/libinput/libinput-1.10.0.ebuild b/dev-libs/libinput/libinput-1.10.0.ebuild
27 new file mode 100644
28 index 00000000000..44cea37f06a
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.10.0.ebuild
31 @@ -0,0 +1,56 @@
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 ~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 +"
56 +DEPEND="${RDEPEND}
57 + virtual/pkgconfig
58 + doc? (
59 + >=app-doc/doxygen-1.8.3
60 + >=media-gfx/graphviz-2.38.0
61 + )
62 +"
63 +# test? (
64 +# >=dev-libs/check-0.9.10
65 +# dev-util/valgrind
66 +# sys-libs/libunwind )
67 +
68 +src_configure() {
69 + # gui can be built but will not be installed
70 + local emesonargs=(
71 + -Ddebug-gui=false
72 + -Ddocumentation="$(usex doc true false)"
73 + -Dlibwacom="$(usex input_devices_wacom true false)"
74 + -Dtests="$(usex test true false)"
75 + -Dudev-dir="$(get_udevdir)"
76 + )
77 + meson_src_configure
78 +}
79 +
80 +src_install() {
81 + meson_src_install
82 + if use doc ; then
83 + docinto html
84 + dodoc -r "${BUILD_DIR}"/html/.
85 + fi
86 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
87 +}