1 |
commit: 4706017a3c7387916f8ca26b3bb6408eb7b87b52 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 09:09:14 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 09:09:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4706017a |
7 |
|
8 |
dev-libs/libinput: Bump to version 1.16.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libinput/Manifest | 1 + |
14 |
dev-libs/libinput/libinput-1.16.3.ebuild | 88 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 89 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
18 |
index 667f015eed5..2cd6122df31 100644 |
19 |
--- a/dev-libs/libinput/Manifest |
20 |
+++ b/dev-libs/libinput/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libinput-1.16.1.tar.xz 595548 BLAKE2B 497089248c2104ff7784b7d46d8e846047e054f01c6ea192f1c41171b39213fa1f19be8c8253c32f988bfc6f025d2519697256ffaf62884182c511bcd5c5d335 SHA512 86b2d563c2cff2b3d3cae3acdd399030cc785cc9859a06357a99565ef51f95122a8427c8c0883121fb0760613460a29c8cd8c7a7e3ac68115c10330b3b75cbe0 |
23 |
DIST libinput-1.16.2.tar.xz 595632 BLAKE2B 0010ee7495e35d093d9cff72195433cfd571fb0b6d2bfbfa61b19eb6baa6cf6d00728673408d9d2427c3cb948e146ffd5a0184fe9a7ca3cc9bf8889b64a55115 SHA512 3394faeb0cdb0a543624e150f04a98f3bce8d67438e47455808bde8eec8ea9cdafb86056e5f8d3431352ae33714e490c55edeb51e0af1972c68fca07c1ef1daa |
24 |
+DIST libinput-1.16.3.tar.xz 594948 BLAKE2B 6fad03dc8ab0280435b89a1049ed019d29e795279273277c9cad4676f484856d2677845ddc1c5102f2430645053a77c1cde48bb32530d4290ade576843a51ded SHA512 cdf87988b24dc0a44b7b6ed3e15e70c7702bf65f1cfe257924967677c7a1f1485011a9e30254ba8962c83885de78f824e7955cedb07322676332d42532ec4a39 |
25 |
|
26 |
diff --git a/dev-libs/libinput/libinput-1.16.3.ebuild b/dev-libs/libinput/libinput-1.16.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e2ae1921279 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libinput/libinput-1.16.3.ebuild |
31 |
@@ -0,0 +1,88 @@ |
32 |
+# Copyright 2014-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+ |
38 |
+inherit meson python-any-r1 udev |
39 |
+ |
40 |
+DESCRIPTION="Library to handle input devices in Wayland" |
41 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput" |
42 |
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0/10" |
46 |
+[[ "$(ver_cut 3)" -gt 900 ]] || \ |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
48 |
+IUSE="doc input_devices_wacom test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ virtual/pkgconfig |
53 |
+ doc? ( |
54 |
+ $(python_gen_any_dep ' |
55 |
+ dev-python/commonmark[${PYTHON_USEDEP}] |
56 |
+ dev-python/recommonmark[${PYTHON_USEDEP}] |
57 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}] |
59 |
+ ') |
60 |
+ >=app-doc/doxygen-1.8.3 |
61 |
+ >=media-gfx/graphviz-2.38.0 |
62 |
+ ) |
63 |
+" |
64 |
+# test? ( dev-util/valgrind ) |
65 |
+RDEPEND=" |
66 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) |
67 |
+ >=dev-libs/libevdev-1.3 |
68 |
+ >=sys-libs/mtdev-1.1 |
69 |
+ virtual/libudev:= |
70 |
+ virtual/udev |
71 |
+" |
72 |
+DEPEND="${RDEPEND} |
73 |
+ test? ( >=dev-libs/check-0.9.10 )" |
74 |
+ |
75 |
+python_check_deps() { |
76 |
+ has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ |
77 |
+ has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ |
78 |
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \ |
79 |
+ has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]" |
80 |
+} |
81 |
+ |
82 |
+pkg_setup() { |
83 |
+ use doc && python-any-r1_pkg_setup |
84 |
+} |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ default |
88 |
+ sed "s@, '-Werror'@@" -i meson.build || die #744250 |
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 |
+ $(meson_use test tests) |
98 |
+ -Dudev-dir="${EPREFIX}$(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 |
+ pkgname="dev-python/python-libevdev" |
113 |
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}" ; then |
114 |
+ einfo "${pkgname} must be installed to use the" |
115 |
+ einfo "libinput measure and libinput replay tools." |
116 |
+ fi |
117 |
+ |
118 |
+ udevadm hwdb --update --root="${ROOT}" |
119 |
+} |