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, 09 Mar 2017 15:17:18
Message-Id: 1489072611.575230ca68887aa0a48eda79456d9da9267d2d7c.mrueg@gentoo
1 commit: 575230ca68887aa0a48eda79456d9da9267d2d7c
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 9 15:16:51 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 9 15:16:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575230ca
7
8 dev-libs/libinput: Version bump to 1.6.3
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.6.3.ebuild | 55 +++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
17 index 624bd1c42a9..cb484980ba0 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -1,3 +1,4 @@
21 DIST libinput-1.4.2.tar.xz 900776 SHA256 8c38826a785594811bef6a9daadbfa2e172e3f070f8863393d6fb7ca4c68e451 SHA512 ecd1ddc737b8207d9e494f809340e2c0ac2927db80cf4c325ba12fb84387138d0128df7e841c87feafe425d6382f87f123f28531f7045fbcdd1176559895b79b WHIRLPOOL 99f18e00e2a4a284b7995f677053501989b526e16f41e508023638a1c0e660940d0cb991f399480a30a49073063aab1651e52bdea7861266300d9db885806ac4
22 DIST libinput-1.6.1.tar.xz 926988 SHA256 9d816f13eee63bcca0e9c3bb652c52ab55f39be4d1b90b54e4bfd1dc92ef55a8 SHA512 b18fdbfa58c14d6a5d183da3c1097d31f7dd9cce41ea69ddfa0bbd1bf8572aaa8e1ecaacdc30e3cc5e21cd320ea106ec86800a24e8f571bce61a02ddc7d43511 WHIRLPOOL bf7ca3c5968827fd73592f56d1e3a1c7897b1bd12fc431e98550ad36aa147f4c39ccb41092ef84d0cb739960c53bfa1b3a62cf7f30fdf7a77da90ba91e6db96e
23 DIST libinput-1.6.2.tar.xz 929180 SHA256 96fc0e0b24a96042b16e561201979dfa4a3f00a642538195c62f72b79f4084fa SHA512 f1e1436ec4259ebddf93a50fe4d39a52713efd246a39a072b44bf296a413bdadbb789d6a4f0107ed3eb37afe34a37a43c9e75dcf814462385011eff2d3f42db7 WHIRLPOOL e9ed43ab8efb5b984a8c431e82880a691f7c94577a7a3789cf1e52c82f8aeee70d56474895a349f286f4d7fc845be8302ca7432b8e4801a6233fbe96b0078db3
24 +DIST libinput-1.6.3.tar.xz 926740 SHA256 74da2798728e79c3aedfffa268d8fe811c3766ca3708309c0dc45502be137da1 SHA512 be1ab191b5605943d6f46a5fee7af9ecba83ab30ba3d38b6ec136980f2183f6dcb5aaf048aa81a096c4f51b6de05bebc83b4ffa29a0574752062a994f377aa5f WHIRLPOOL e90739d84b87c9a419bbbb636cb535bebd51cacc18d215f87f952af41bb67a747de0c4c732cd83bd4d23143b3d6d4090a09e150d41f05edfb260e26a08688778
25
26 diff --git a/dev-libs/libinput/libinput-1.6.3.ebuild b/dev-libs/libinput/libinput-1.6.3.ebuild
27 new file mode 100644
28 index 00000000000..f3060d7878c
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.6.3.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit 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="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-0.4
53 + >=sys-libs/mtdev-1.1
54 + virtual/libudev
55 +"
56 +DEPEND="${RDEPEND}
57 + virtual/pkgconfig"
58 +# test? (
59 +# >=dev-libs/check-0.9.10
60 +# dev-util/valgrind
61 +# sys-libs/libunwind )
62 +
63 +src_prepare() {
64 + default
65 + # Doc handling in kinda strange but everything
66 + # is available in the tarball already.
67 + sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \
68 + -i Makefile.am Makefile.in || die
69 +}
70 +
71 +src_configure() {
72 + # gui can be built but will not be installed
73 + # building documentation silently fails with graphviz syntax errors
74 + econf \
75 + --disable-documentation \
76 + --disable-event-gui \
77 + $(use_enable input_devices_wacom libwacom) \
78 + $(use_enable test tests) \
79 + --with-udev-dir="$(get_udevdir)"
80 +}
81 +
82 +src_install() {
83 + emake install DESTDIR="${D}"
84 + dodoc -r doc/html
85 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
86 +}