Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/
Date: Tue, 16 Oct 2018 08:26:27
Message-Id: 1539678362.63e79c925af4d7c9b3c33c02bd9af78a06996ee1.polynomial-c@gentoo
1 commit: 63e79c925af4d7c9b3c33c02bd9af78a06996ee1
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 16 08:22:15 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 16 08:26:02 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e79c92
7
8 dev-libs/libinput: Revbump to fix build with USE="doc".
9
10 Revbump because a new dependency is required that has only
11 amd64 and x86 keywords.
12
13 Closes: https://bugs.gentoo.org/668620
14 Closes: https://bugs.gentoo.org/665722
15 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
16 Package-Manager: Portage-2.3.51, Repoman-2.3.11
17
18 dev-libs/libinput/libinput-1.12.1-r1.ebuild | 62 +++++++++++++++++++++++++++++
19 1 file changed, 62 insertions(+)
20
21 diff --git a/dev-libs/libinput/libinput-1.12.1-r1.ebuild b/dev-libs/libinput/libinput-1.12.1-r1.ebuild
22 new file mode 100644
23 index 00000000000..35d61bb2738
24 --- /dev/null
25 +++ b/dev-libs/libinput/libinput-1.12.1-r1.ebuild
26 @@ -0,0 +1,62 @@
27 +# Copyright 1999-2018 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=6
31 +inherit meson udev
32 +
33 +DESCRIPTION="Library to handle input devices in Wayland"
34 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
35 +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
36 +
37 +LICENSE="MIT"
38 +SLOT="0/10"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE="doc input_devices_wacom"
41 +# Tests require write access to udev rules directory which is a no-no for live system.
42 +# Other tests are just about logs, exported symbols and autotest of the test library.
43 +RESTRICT="test"
44 +
45 +RDEPEND="
46 + input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
47 + >=dev-libs/libevdev-1.3
48 + >=sys-libs/mtdev-1.1
49 + virtual/libudev:=
50 + virtual/udev
51 +"
52 +DEPEND="${RDEPEND}
53 + virtual/pkgconfig
54 + doc? (
55 + dev-python/recommonmark
56 + dev-python/sphinx
57 + >=app-doc/doxygen-1.8.3
58 + >=media-gfx/graphviz-2.38.0
59 + )
60 +"
61 +# test? (
62 +# >=dev-libs/check-0.9.10
63 +# dev-util/valgrind
64 +# sys-libs/libunwind )
65 +
66 +src_configure() {
67 + # gui can be built but will not be installed
68 + local emesonargs=(
69 + -Ddebug-gui=false
70 + $(meson_use doc documentation)
71 + $(meson_use input_devices_wacom libwacom)
72 + -Dtests=false # tests are restricted
73 + -Dudev-dir="$(get_udevdir)"
74 + )
75 + meson_src_configure
76 +}
77 +
78 +src_install() {
79 + meson_src_install
80 + if use doc ; then
81 + docinto html
82 + dodoc -r "${BUILD_DIR}"/Documentation/.
83 + fi
84 +}
85 +
86 +pkg_postinst() {
87 + udevadm hwdb --update --root="${ROOT%/}"
88 +}