Gentoo Archives: gentoo-commits

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/
Date: Mon, 26 Oct 2015 17:57:20
Message-Id: 1445882225.e5625fc26845c1d8938895ad91aff3ce8f71fccc.chithanh@gentoo
1 commit: e5625fc26845c1d8938895ad91aff3ce8f71fccc
2 Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 26 17:57:05 2015 +0000
4 Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 17:57:05 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5625fc2
7
8 dev-libs/libinput: Version bump
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-libs/libinput/Manifest | 1 +
13 dev-libs/libinput/libinput-1.1.0.ebuild | 53 +++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
17 index 056aea1..2b5d34b 100644
18 --- a/dev-libs/libinput/Manifest
19 +++ b/dev-libs/libinput/Manifest
20 @@ -2,3 +2,4 @@ DIST libinput-0.7.0.tar.xz 440228 SHA256 129f485afe5e4a9394641293991c97cb99f5f33
21 DIST libinput-0.9.0.tar.xz 510512 SHA256 309043976f41f5451c2a4b1c25bc2993b18aecb22524d797f21eb6b6c968ff0d SHA512 a6f718215428eda45ac00c25d0b62ada84bf924822cb66e0a9b28f4cfc36e7d1678f2dfb47afae16ce4c277d589adcf97aefe8e2e5a154873b649fe4a84527a1 WHIRLPOOL 23da6dbcd7b17000cea641e0931db8a9b2ad34b0655e4e31b0419ff4799adc59d2646b10316e073ad49695ebd652c150abf05c39d15c735ecb1d97f6f8c1d8de
22 DIST libinput-1.0.0.tar.xz 785056 SHA256 afbd2751c000a4e5833624b6177a6919ad259f0bca44093947421c885fd42c0f SHA512 b6fc7973982cb2826fc5beb514e954d7673023628739a86d18b2522b1ad0ecf55f9d6c83e6307c10c633c57d6b61227898aded6a22a2de536c0f14f27d23b903 WHIRLPOOL 13304875b753127ada76bf18ba56ea9828d6532db5eefce56439ede83eeeb43b6da6aa59f763d2c912de838221ee53fd7d02bf865e80316a24c412ea001d3043
23 DIST libinput-1.0.1.tar.xz 800244 SHA256 482fb35119b457ba65a8bebaa47e4f6b4dbd77e59c320014a22296847b7ff99e SHA512 17efc6ddd58aadcd30aecb4d1b8b6ad32f6f61c592f29b0a99aac7d49e5cb814038874d9e8996cd6726f15c58bf4239169564c650a3250a87a9ec6fd3110c5bb WHIRLPOOL 0bba6b4a58ca0020ebcbffe5675d75832b4ed67a350ca141d990f9db522a2eee942543f475d76c1f2b816b849074f4a50e30bcb3adc99bd4abdea1a43800a2d5
24 +DIST libinput-1.1.0.tar.xz 802348 SHA256 673186ea2a0d2b695afaa9758834f9217b175774d9ae222e1b43ff63c663f582 SHA512 7f014eabed120c00fcd2d8748aed44a8ca31fd30bdda8b289ca63f7d1bebb9c49f1d508707fb0c4a5c7c4a37b58548efdff0e9b7761475f18e1cf787a80520e6 WHIRLPOOL 028518c20cfc6daa442dd92d04183a6575b95b1f4792a646ce42c09a7bc75e5bb469ca88b8cad89919c0814e00aa65178cc49c9dca6e9aad4ce997a94f9ba645
25
26 diff --git a/dev-libs/libinput/libinput-1.1.0.ebuild b/dev-libs/libinput/libinput-1.1.0.ebuild
27 new file mode 100644
28 index 0000000..2687735
29 --- /dev/null
30 +++ b/dev-libs/libinput/libinput-1.1.0.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2015 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="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 + >=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_configure() {
64 + # Doc handling in kinda strange but everything
65 + # is available in the tarball already.
66 + sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \
67 + -i Makefile.am Makefile.in || die
68 +}
69 +
70 +src_configure() {
71 + # gui can be built but will not be installed
72 + # building documentation silently fails with graphviz syntax errors
73 + econf \
74 + --disable-documentation \
75 + --disable-event-gui \
76 + $(use_enable test tests) \
77 + --with-udev-dir="$(get_udevdir)"
78 +}
79 +
80 +src_install() {
81 + emake install DESTDIR="${D}"
82 + dodoc -r doc/html
83 + prune_libtool_files
84 +}