1 |
commit: 42f6cf7978f163f3eb01c8ab7a9b8eabfe270bce |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 29 14:57:30 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 29 14:57:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f6cf79 |
7 |
|
8 |
dev-libs/libinput: Bump to version 1.12.2 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-libs/libinput/Manifest | 1 + |
14 |
dev-libs/libinput/libinput-1.12.2.ebuild | 77 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
18 |
index d6298099739..11d77e5beaa 100644 |
19 |
--- a/dev-libs/libinput/Manifest |
20 |
+++ b/dev-libs/libinput/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST libinput-1.10.7.tar.xz 494648 BLAKE2B ddcbe5f54b90f8291c16e5912fa3d673fb2c66f0247c9d771f7c2dfeeef9b51404f31d7ac99cfd20b37e1d01d6b2b3bc95155ab6581c6a94e922e153d9098892 SHA512 b102b8065ceed7511ad26efba34d5d9b0c13f0f7aaa882bb21501f7a5166f4cbe140fcbb488e90e6880bd47bb2b27667a4d6aa79b8726269fa1337897034a684 |
23 |
DIST libinput-1.11.3.tar.xz 487408 BLAKE2B 38dc14cf018ca59279e8b6e85fd91f4b29545b4a55ab968cb11d9a8afc8d80c311efc6e57339b9baa9fb270f52cfb0758ff8ea313991867c35f3da47910977ac SHA512 5e18daab6202bcbfddeebc35dac4cabb5f726b5b73f5fc87975b58f3019a54a4b1f506a3200e920638ddddfb978a0b96c23c2e90b081942f86d33c16d4836949 |
24 |
DIST libinput-1.12.1.tar.xz 520072 BLAKE2B 2d2b2d82f27ac01ff25b3bf6fd7b77ca56467ab818cdc5d4a641629fed623ef5042915889f54f71b1881595af1d85770bbf4ecfd798c079878efa0a0546c4a36 SHA512 de1714526ee1244e3086729efa5b72724b2b989fa8d04418e633d1ef5a8ea777ae3cd4b8c5b015ca0da2b8cf5b07111bff2283c7d6068abcdfa81c3f71b81d68 |
25 |
+DIST libinput-1.12.2.tar.xz 517712 BLAKE2B 3a8b1e5120334d44dcd14461fef4d20d51ec2f910c95bf10e54201dcd8b6ef2913a284940f05f0088ed810c0841b7e3cbfd1b33d7bcce3a81031330cb42bfe18 SHA512 f7122a1d18dd2d0072a34fd9897ebe25a065100b3754052d7ec133bddb56d5c2a5a94950cfc8366ef5d117180c28b3ff99b1a62f3ab95df5ac22f86721fbdc67 |
26 |
|
27 |
diff --git a/dev-libs/libinput/libinput-1.12.2.ebuild b/dev-libs/libinput/libinput-1.12.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..20a7cf9b839 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libinput/libinput-1.12.2.ebuild |
32 |
@@ -0,0 +1,77 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) |
38 |
+ |
39 |
+inherit meson python-any-r1 udev |
40 |
+ |
41 |
+DESCRIPTION="Library to handle input devices in Wayland" |
42 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/" |
43 |
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0/10" |
47 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
48 |
+IUSE="doc input_devices_wacom" |
49 |
+# Tests require write access to udev rules directory which is a no-no for live system. |
50 |
+# Other tests are just about logs, exported symbols and autotest of the test library. |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) |
55 |
+ >=dev-libs/libevdev-1.3 |
56 |
+ >=sys-libs/mtdev-1.1 |
57 |
+ virtual/libudev:= |
58 |
+ virtual/udev |
59 |
+" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ virtual/pkgconfig |
62 |
+ doc? ( |
63 |
+ $(python_gen_any_dep ' |
64 |
+ dev-python/commonmark[${PYTHON_USEDEP}] |
65 |
+ dev-python/recommonmark[${PYTHON_USEDEP}] |
66 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
67 |
+ ') |
68 |
+ >=app-doc/doxygen-1.8.3 |
69 |
+ >=media-gfx/graphviz-2.38.0 |
70 |
+ ) |
71 |
+" |
72 |
+# test? ( |
73 |
+# >=dev-libs/check-0.9.10 |
74 |
+# dev-util/valgrind |
75 |
+# sys-libs/libunwind ) |
76 |
+ |
77 |
+python_check_deps() { |
78 |
+ has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ |
79 |
+ has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ |
80 |
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" |
81 |
+} |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ use doc && python-any-r1_pkg_setup |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ # gui can be built but will not be installed |
89 |
+ local emesonargs=( |
90 |
+ -Ddebug-gui=false |
91 |
+ $(meson_use doc documentation) |
92 |
+ $(meson_use input_devices_wacom libwacom) |
93 |
+ -Dtests=false # tests are restricted |
94 |
+ -Dudev-dir="$(get_udevdir)" |
95 |
+ ) |
96 |
+ meson_src_configure |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ meson_src_install |
101 |
+ if use doc ; then |
102 |
+ docinto html |
103 |
+ dodoc -r "${BUILD_DIR}"/Documentation/. |
104 |
+ fi |
105 |
+} |
106 |
+ |
107 |
+pkg_postinst() { |
108 |
+ udevadm hwdb --update --root="${ROOT%/}" |
109 |
+} |