1 |
commit: a7fd2913832ce8d9bc5e4927e6622ab52125ed22 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 10:43:57 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 10:43:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7fd2913 |
7 |
|
8 |
dev-libs/libinput: Bump to version 1.16.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.10, 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.4.ebuild | 88 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 89 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
18 |
index 2cd6122df31..de7953b79cd 100644 |
19 |
--- a/dev-libs/libinput/Manifest |
20 |
+++ b/dev-libs/libinput/Manifest |
21 |
@@ -1,3 +1,4 @@ |
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 |
+DIST libinput-1.16.4.tar.xz 596028 BLAKE2B ad2160d83bcbdd65383272e0c4b35e35c7b46a6d0c771d7c0188c92b204d57dae73d0820bb93f662f155c1eab19c0195110f5a18a68de890c808925d5c056814 SHA512 a95a3bcf58a9298946d15f4f2fd93dc5807d3042f8797950a1ffd96d3c979b55a764f035a9f7680d0ea400b033698c322eb61a4387dbc280db6110ffd3e137ee |
26 |
|
27 |
diff --git a/dev-libs/libinput/libinput-1.16.4.ebuild b/dev-libs/libinput/libinput-1.16.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..e2ae1921279 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libinput/libinput-1.16.4.ebuild |
32 |
@@ -0,0 +1,88 @@ |
33 |
+# Copyright 2014-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
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/ https://gitlab.freedesktop.org/libinput/libinput" |
43 |
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0/10" |
47 |
+[[ "$(ver_cut 3)" -gt 900 ]] || \ |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
49 |
+IUSE="doc input_devices_wacom test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+BDEPEND=" |
53 |
+ virtual/pkgconfig |
54 |
+ doc? ( |
55 |
+ $(python_gen_any_dep ' |
56 |
+ dev-python/commonmark[${PYTHON_USEDEP}] |
57 |
+ dev-python/recommonmark[${PYTHON_USEDEP}] |
58 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}] |
60 |
+ ') |
61 |
+ >=app-doc/doxygen-1.8.3 |
62 |
+ >=media-gfx/graphviz-2.38.0 |
63 |
+ ) |
64 |
+" |
65 |
+# test? ( dev-util/valgrind ) |
66 |
+RDEPEND=" |
67 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) |
68 |
+ >=dev-libs/libevdev-1.3 |
69 |
+ >=sys-libs/mtdev-1.1 |
70 |
+ virtual/libudev:= |
71 |
+ virtual/udev |
72 |
+" |
73 |
+DEPEND="${RDEPEND} |
74 |
+ test? ( >=dev-libs/check-0.9.10 )" |
75 |
+ |
76 |
+python_check_deps() { |
77 |
+ has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ |
78 |
+ has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ |
79 |
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \ |
80 |
+ has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]" |
81 |
+} |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ use doc && python-any-r1_pkg_setup |
85 |
+} |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ default |
89 |
+ sed "s@, '-Werror'@@" -i meson.build || die #744250 |
90 |
+} |
91 |
+ |
92 |
+src_configure() { |
93 |
+ # gui can be built but will not be installed |
94 |
+ local emesonargs=( |
95 |
+ -Ddebug-gui=false |
96 |
+ $(meson_use doc documentation) |
97 |
+ $(meson_use input_devices_wacom libwacom) |
98 |
+ $(meson_use test tests) |
99 |
+ -Dudev-dir="${EPREFIX}$(get_udevdir)" |
100 |
+ ) |
101 |
+ meson_src_configure |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ meson_src_install |
106 |
+ if use doc ; then |
107 |
+ docinto html |
108 |
+ dodoc -r "${BUILD_DIR}"/Documentation/. |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ pkgname="dev-python/python-libevdev" |
114 |
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}" ; then |
115 |
+ einfo "${pkgname} must be installed to use the" |
116 |
+ einfo "libinput measure and libinput replay tools." |
117 |
+ fi |
118 |
+ |
119 |
+ udevadm hwdb --update --root="${ROOT}" |
120 |
+} |