1 |
commit: e6ecda0e32276a893fa307879ec8c12cf44020c9 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 29 08:06:32 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 29 08:07:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ecda0e |
7 |
|
8 |
dev-libs/libinput: Bump to version 1.13.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libinput/Manifest | 1 + |
14 |
dev-libs/libinput/libinput-1.13.0.ebuild | 81 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 82 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
18 |
index 68d2bd54bc6..fd64b782ab0 100644 |
19 |
--- a/dev-libs/libinput/Manifest |
20 |
+++ b/dev-libs/libinput/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST libinput-1.11.3.tar.xz 487408 BLAKE2B 38dc14cf018ca59279e8b6e85fd91f4b29545 |
22 |
DIST libinput-1.12.1.tar.xz 520072 BLAKE2B 2d2b2d82f27ac01ff25b3bf6fd7b77ca56467ab818cdc5d4a641629fed623ef5042915889f54f71b1881595af1d85770bbf4ecfd798c079878efa0a0546c4a36 SHA512 de1714526ee1244e3086729efa5b72724b2b989fa8d04418e633d1ef5a8ea777ae3cd4b8c5b015ca0da2b8cf5b07111bff2283c7d6068abcdfa81c3f71b81d68 |
23 |
DIST libinput-1.12.5.tar.xz 518612 BLAKE2B 6bd4c770aa4e22f3ef80cff12731dd8ed8f50ddfbc6d06c02af7b4f1b38122baea412b806825ed511ac3e586505c2dfec66061ed459c6526a74af91d275e7709 SHA512 9365b91b3ac2c4ff0f9927913242afac7677979682dd7b541001b13d09d7982acd854f6d348101cfa4b0854c6a92b4c683f62593a97870e32ae3d607eaeae3ff |
24 |
DIST libinput-1.12.6.tar.xz 518784 BLAKE2B 7462f47be3628f9c66ef5b7c8265b588bd0ca328bafe91932f5341a010ac882648b4e7cfd0db241ae526836172e0829d68d21f8966d2be8b49f4e1c0c40df018 SHA512 02ad90c77a0c8c27fd96ec34e1546c5f0947ced49bad386372c1ef7c41b3b2157c39020f0766f20aaf2ab3c97128567e169279bea21115ced39499dda325d2ef |
25 |
+DIST libinput-1.13.0.tar.xz 529912 BLAKE2B 830dca7387c6527ebdf41e8b01bf9d8df094ec2309e229e3933b56217d51e3ef0b0c53106d6e4d55946a238d947c17a1d7c0a8f43b63119a6f3aa1063a703d64 SHA512 0e3f53acf90fe142ad677b416d1ee830ad7f7f8a83b80023278ea7d3696ff7af5612379b387b1eb5daae6277a8c30d84c21f0086fe3d8b4b6189f239b1eeb4f8 |
26 |
|
27 |
diff --git a/dev-libs/libinput/libinput-1.13.0.ebuild b/dev-libs/libinput/libinput-1.13.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..fe9e7e7cf8c |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libinput/libinput-1.13.0.ebuild |
32 |
@@ -0,0 +1,81 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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 |
+ doc? ( |
62 |
+ $(python_gen_any_dep ' |
63 |
+ dev-python/commonmark[${PYTHON_USEDEP}] |
64 |
+ dev-python/recommonmark[${PYTHON_USEDEP}] |
65 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/sphinx_rtd_theme-0.2.4[${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 |
+BDEPEND=" |
77 |
+ virtual/pkgconfig |
78 |
+" |
79 |
+ |
80 |
+python_check_deps() { |
81 |
+ has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ |
82 |
+ has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ |
83 |
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \ |
84 |
+ has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]" |
85 |
+} |
86 |
+ |
87 |
+pkg_setup() { |
88 |
+ use doc && python-any-r1_pkg_setup |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ # gui can be built but will not be installed |
93 |
+ local emesonargs=( |
94 |
+ -Ddebug-gui=false |
95 |
+ $(meson_use doc documentation) |
96 |
+ $(meson_use input_devices_wacom libwacom) |
97 |
+ -Dtests=false # tests are restricted |
98 |
+ -Dudev-dir="$(get_udevdir)" |
99 |
+ ) |
100 |
+ meson_src_configure |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ meson_src_install |
105 |
+ if use doc ; then |
106 |
+ docinto html |
107 |
+ dodoc -r "${BUILD_DIR}"/Documentation/. |
108 |
+ fi |
109 |
+} |
110 |
+ |
111 |
+pkg_postinst() { |
112 |
+ udevadm hwdb --update --root="${ROOT%/}" |
113 |
+} |