1 |
commit: 68d0466ba10b01e3f8ce7de50f940f4236739b82 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 20:59:33 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 21:03:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d0466b |
7 |
|
8 |
dev-libs/libinput: Version bump to 1.17.3 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libinput/Manifest | 1 + |
13 |
dev-libs/libinput/libinput-1.17.3.ebuild | 88 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 89 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
17 |
index a5a252ce72c..bc5c7d5ace5 100644 |
18 |
--- a/dev-libs/libinput/Manifest |
19 |
+++ b/dev-libs/libinput/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libinput-1.17.1.tar.xz 611492 BLAKE2B 274312240fccc49a45dedc3d41018bc952f25040217f388fd461aebabe796be106dd4f34cb2e40ce91fc75219c47fbd605c6facdc4d47893420e5df199a7edb7 SHA512 2e7baa198fed9c673d28453efb066f9371f2b575a844e41cde455c636bbe1cc68faae7129026944a502cd5d7bfcc72272066b9e3cda5c959f7b464483f9dd860 |
22 |
DIST libinput-1.17.2.tar.xz 611388 BLAKE2B a94ab1e3ef65f49a3043e5f84d68748c4800be1e2e0911b45be2a9cd6655311b2e6c2fcde64827f57e74318fc759d95e045125239305a2ae94175371c178c50a SHA512 b8953ad483648d5629d56c4dc226d4906693b15da5ba4027627a51ec35ea65b0603c09056b52ed2025df1f7a877669a5b7482c025e0b37003fc676563bd05263 |
23 |
+DIST libinput-1.17.3.tar.xz 612892 BLAKE2B 1acae8a5bc0f87b547c83a0f72e0693ac95cf85377269efebc5ade8606620fcb3d7300fabb05dafd5492458da3d2300667ed6e43d9e6fcda2bd4f461bc0685a8 SHA512 3d1ab4362ede886996795d700a938d20e04cd922e8f9598fe9346f9f93e149119526fb324a096787b4b8a47bf3e5613130bcd874f10df86761031710d2acc792 |
24 |
|
25 |
diff --git a/dev-libs/libinput/libinput-1.17.3.ebuild b/dev-libs/libinput/libinput-1.17.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..610b570961f |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libinput/libinput-1.17.3.ebuild |
30 |
@@ -0,0 +1,88 @@ |
31 |
+# Copyright 2014-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
36 |
+ |
37 |
+inherit meson python-any-r1 udev |
38 |
+ |
39 |
+DESCRIPTION="Library to handle input devices in Wayland" |
40 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput" |
41 |
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0/10" |
45 |
+[[ "$(ver_cut 3)" -gt 900 ]] || \ |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
47 |
+IUSE="doc input_devices_wacom test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+BDEPEND=" |
51 |
+ virtual/pkgconfig |
52 |
+ doc? ( |
53 |
+ $(python_gen_any_dep ' |
54 |
+ dev-python/commonmark[${PYTHON_USEDEP}] |
55 |
+ dev-python/recommonmark[${PYTHON_USEDEP}] |
56 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}] |
58 |
+ ') |
59 |
+ >=app-doc/doxygen-1.8.3 |
60 |
+ >=media-gfx/graphviz-2.38.0 |
61 |
+ ) |
62 |
+" |
63 |
+# test? ( dev-util/valgrind ) |
64 |
+RDEPEND=" |
65 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) |
66 |
+ >=dev-libs/libevdev-1.3 |
67 |
+ >=sys-libs/mtdev-1.1 |
68 |
+ virtual/libudev:= |
69 |
+ virtual/udev |
70 |
+" |
71 |
+DEPEND="${RDEPEND} |
72 |
+ test? ( >=dev-libs/check-0.9.10 )" |
73 |
+ |
74 |
+python_check_deps() { |
75 |
+ has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ |
76 |
+ has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ |
77 |
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \ |
78 |
+ has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]" |
79 |
+} |
80 |
+ |
81 |
+pkg_setup() { |
82 |
+ use doc && python-any-r1_pkg_setup |
83 |
+} |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ default |
87 |
+ sed "s@, '-Werror'@@" -i meson.build || die #744250 |
88 |
+} |
89 |
+ |
90 |
+src_configure() { |
91 |
+ # gui can be built but will not be installed |
92 |
+ local emesonargs=( |
93 |
+ -Ddebug-gui=false |
94 |
+ $(meson_use doc documentation) |
95 |
+ $(meson_use input_devices_wacom libwacom) |
96 |
+ $(meson_use test tests) |
97 |
+ -Dudev-dir="${EPREFIX}$(get_udevdir)" |
98 |
+ ) |
99 |
+ meson_src_configure |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ meson_src_install |
104 |
+ if use doc ; then |
105 |
+ docinto html |
106 |
+ dodoc -r "${BUILD_DIR}"/Documentation/. |
107 |
+ fi |
108 |
+} |
109 |
+ |
110 |
+pkg_postinst() { |
111 |
+ pkgname="dev-python/python-libevdev" |
112 |
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}" ; then |
113 |
+ einfo "${pkgname} must be installed to use the" |
114 |
+ einfo "libinput measure and libinput replay tools." |
115 |
+ fi |
116 |
+ |
117 |
+ udevadm hwdb --update --root="${ROOT}" |
118 |
+} |