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, 06 Mar 2016 11:15:57
Message-Id: 1457174717.b35d9acaf98b9515dd2bdb67df18fce87bdce3de.mrueg@gentoo
1 commit: b35d9acaf98b9515dd2bdb67df18fce87bdce3de
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 5 10:45:17 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 5 10:45:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35d9aca
7
8 dev-libs/libinput: Version bump
9
10 Package-Manager: portage-2.2.27
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.2.1.ebuild | 55 +++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
17 index 76709ac..a8e99be 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -3,3 +3,4 @@ DIST libinput-1.0.1.tar.xz 800244 SHA256 482fb35119b457ba65a8bebaa47e4f6b4dbd77e
21 DIST libinput-1.1.0.tar.xz 802348 SHA256 673186ea2a0d2b695afaa9758834f9217b175774d9ae222e1b43ff63c663f582 SHA512 7f014eabed120c00fcd2d8748aed44a8ca31fd30bdda8b289ca63f7d1bebb9c49f1d508707fb0c4a5c7c4a37b58548efdff0e9b7761475f18e1cf787a80520e6 WHIRLPOOL 028518c20cfc6daa442dd92d04183a6575b95b1f4792a646ce42c09a7bc75e5bb469ca88b8cad89919c0814e00aa65178cc49c9dca6e9aad4ce997a94f9ba645
22 DIST libinput-1.1.5.tar.xz 806960 SHA256 5e08c45dbb8bf32490cc6cd626da098564d646d161a07cba2e3adbd9745c0622 SHA512 031663c46b556048224aab018eb8ea76e34aace77508e52e6ef382a452585fafd4c91b427c0892aab3c624c0cfedc15c388922ae7166248e5da65575ff900c31 WHIRLPOOL 760cc1cf0c6657efbdadadd2f50e188d86465e1aa3f287275323d6fad9156b684de0d3b6dbf6e3fd5213018770726087ee282833f25ba5ef67918c0284b885a1
23 DIST libinput-1.2.0.tar.xz 866284 SHA256 1754b917fe675507ea80445b4f2e91d76cb6a6935508fe37234807affb316e2c SHA512 ab5b534ac5db7d4142e41c61e1f8fbc7f4c9cf89567fa27196fa9300f57db7328d61af25c93126905ad06061e1b2def0abe70654ac3710b6476379f84343cce8 WHIRLPOOL 2f74bcd3ae694db9f52c450c6b96d24fd320da2002e900cf69a3ce2d9c33b00213097c0330867f32b175b5fe80d06099c3bdc461a2001f4eee4f2481ab1e32fc
24 +DIST libinput-1.2.1.tar.xz 863660 SHA256 e2db8c5357f8859b33c58e583601f50509f085ae9340a58790bcf44f1480c1c3 SHA512 6dceed081bb0c5374d39be7ce14ccbeb7734c50a648a155ca9d57f7dabde80a35a5b3b4eb15f37ce5c475725a13624d4c7f9ab1147f71af2576fdb746310509c WHIRLPOOL 7748530169b95765f5d8a07191c8e3f8e165d5d778f6f9da8ea4dc10164501e9be4166eecb534b69153cb11d48354663739effbd324107596f496c5d38c6b632
25
26 diff --git a/dev-libs/libinput/libinput-1.2.1.ebuild b/dev-libs/libinput/libinput-1.2.1.ebuild
27 new file mode 100644
28 index 0000000..3107c89
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.2.1.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="http://www.freedesktop.org/wiki/Software/libinput/"
41 +SRC_URI="http://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 +}