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: Sun, 10 Sep 2017 11:11:04
Message-Id: 1505041820.12b62056f9dac67dec837379752d8f982b8d34fe.mrueg@gentoo
1 commit: 12b62056f9dac67dec837379752d8f982b8d34fe
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 10 11:10:20 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 10 11:10:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b62056
7
8 dev-libs/libinput: Version bump to 1.8.2
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.8.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 849d1169881..5a7cb7e4f7a 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -3,3 +3,4 @@ DIST libinput-1.7.2.tar.xz 923720 SHA256 0b1e5a6c106ccc609ccececd9e33e6b27c8b01f
21 DIST libinput-1.7.3.tar.xz 922464 SHA256 096d612d2711f0caa2de544976ff3729e6233511ab373808644cc2dd5affcb1d SHA512 2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b WHIRLPOOL 06ea9038f7b3127b3238fc863b1ec862647a08b1ab4956fcfd433093dc3c68585ba3b166515370681ed158a48ce6a5670c6b8dcb6d536af25f8bda2c84c74286
22 DIST libinput-1.8.0.tar.xz 939708 SHA256 f8c9dbc31bf549008486258ebfa328d3dbc749c0029c6168e46949c24cf19076 SHA512 84354859c25cf2906214fd195c396e8166db361664edc625db5aab4f1b247dfc4a80d7e9dffe2b61c6bbfaa8208d3f64ce56aac2180a699cb71a088d6196ba4d WHIRLPOOL 03f8d54cef162e17ede58ee1b2697323700f430c393c8c001494b9b0e881fed828ba99ca79b4547382b59be9771348628373e89096f6e936ad225bf68915901b
23 DIST libinput-1.8.1.tar.xz 936292 SHA256 e3590a9037e561a5791c8bd3b34bfd30fad5cacd8cbefc0d75fafe3a41d07147 SHA512 1566ccb7d1721ee2d16badc404896d31e3ac45fda71e2577db17141a507594f3827ed0a389bb537f946cb380d77feedef8e71df76ac89f8c11c44463df01ee4f WHIRLPOOL b519b447aa775280eb107933c1599dfefd132bbf51438f9337fcf286783dc20d599ce6fa2563da802b6da6874ad68c99c171204c0771f4faa649924ee00458d0
24 +DIST libinput-1.8.2.tar.xz 939664 SHA256 013518ee0adb2287e6e1f08412efba2137320738cadb5399b783738f04cbab38 SHA512 555a7680cc8aaf62c5370a865f3aff0a933d42d94a3d8861c072666b02c9e1be45ea39de9a749a9575cdfb613b6150e412e18559d94d4919f21ca4680a3c76a7 WHIRLPOOL c897c788fe29085f2f8f79f0441f4543d4cfa2f5c4af2357539c9ef49662d7eed2e46fa904bc3291a559a5effd091584da71a6e05ab5c11cb03970a27afd7366
25
26 diff --git a/dev-libs/libinput/libinput-1.8.2.ebuild b/dev-libs/libinput/libinput-1.8.2.ebuild
27 new file mode 100644
28 index 00000000000..0c88be02d47
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.8.2.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-1.3
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-debug-gui \
76 + --disable-documentation \
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 +}