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: Tue, 29 Nov 2016 22:46:21
Message-Id: 1480459565.df5b886a149e4904166c8be7de8028e5c9345edf.mrueg@gentoo
1 commit: df5b886a149e4904166c8be7de8028e5c9345edf
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 22:46:05 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 22:46:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5b886a
7
8 dev-libs/libinput: Version bump to 1.5.2
9
10 Package-Manager: portage-2.3.2
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.5.2.ebuild | 55 +++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
17 index a68e244..36ceeaa 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -5,3 +5,4 @@ DIST libinput-1.3.3.tar.xz 881992 SHA256 30c8edfe47654a38c235ac6b0541d79fd593d01
21 DIST libinput-1.4.2.tar.xz 900776 SHA256 8c38826a785594811bef6a9daadbfa2e172e3f070f8863393d6fb7ca4c68e451 SHA512 ecd1ddc737b8207d9e494f809340e2c0ac2927db80cf4c325ba12fb84387138d0128df7e841c87feafe425d6382f87f123f28531f7045fbcdd1176559895b79b WHIRLPOOL 99f18e00e2a4a284b7995f677053501989b526e16f41e508023638a1c0e660940d0cb991f399480a30a49073063aab1651e52bdea7861266300d9db885806ac4
22 DIST libinput-1.5.0.tar.xz 910476 SHA256 5a96559385ecfaa30f9e72ea89eb8ebbc97caf68e458f451f4ed62315311081c SHA512 801b7a161d85f6e5f4ce03f3bc7e367ee22646cc8994e2660697d23af99ad2a91c0824e8bfc039b294ce4eac4c808697b3caf22b7b6587a201e8e75519be0a3a WHIRLPOOL 0b97ff67a45f46771a507a36ad09775e4be1c934b87cb0231b7a6d682a6043f0e8ba0efbd7f3321c461f0a9292d9f7ef0f58d7cffc17d9685ae1c6128856e76d
23 DIST libinput-1.5.1.tar.xz 926872 SHA256 d4f63933b0967bd691735af5e3919e2d29c2121d4e05867cc4e10ff3ae8e2dd8 SHA512 13cf61ec3cc67687ee4cbe6fffd1cec722d4c0b328f5fddc9e0c655af1cdc5030b3cebeb32374917df2bd14eeee74e2be9ea97af52d006e08f447932bf525e9a WHIRLPOOL eceebd33bb530f5c673deca743980d2b5c39c24a7eff49c1bfa4f15f23b104d5173fd62a433f1d1881aa4362b4203fa8944a738350124720034e692b2e9af5ea
24 +DIST libinput-1.5.2.tar.xz 926048 SHA256 ba26e2bc64ed551eaef193178ed06b07b97a09ac6f4e442f5f15bbc3f3174682 SHA512 a3552f36fc91b523caceb128d048a0a7161335aef78554f202011fcc9acfb5f772d2124a4441f0f542f1b8051b8a2ecb7b00fad5456d8c06b213b96b9ebc91de WHIRLPOOL 025cd1b3261a977b2a579e03766939a443b6fa26b486e9fa16e445b39acf5d31b1f74260670b74718e5d11648c459b42b546e2311d5cac8a713a8a5b0e893791
25
26 diff --git a/dev-libs/libinput/libinput-1.5.2.ebuild b/dev-libs/libinput/libinput-1.5.2.ebuild
27 new file mode 100644
28 index 00000000..8ec94bd
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.5.2.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +inherit eutils udev
38 +
39 +DESCRIPTION="Library to handle input devices in Wayland"
40 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
41 +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0/10"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
46 +IUSE="input_devices_wacom test"
47 +# Tests require write access to udev rules directory which is a no-no for live system.
48 +# Other tests are just about logs, exported symbols and autotest of the test library.
49 +RESTRICT="test"
50 +
51 +RDEPEND="
52 + input_devices_wacom? ( >=dev-libs/libwacom-0.12 )
53 + >=dev-libs/libevdev-0.4
54 + >=sys-libs/mtdev-1.1
55 + virtual/libudev
56 +"
57 +DEPEND="${RDEPEND}
58 + virtual/pkgconfig"
59 +# test? (
60 +# >=dev-libs/check-0.9.10
61 +# dev-util/valgrind
62 +# sys-libs/libunwind )
63 +
64 +src_prepare() {
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 + prune_libtool_files
86 +}