1 |
commit: 87d10b43798f16797d78dca1b9a1d0e1d66460f2 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 7 14:54:34 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 7 14:57:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d10b43 |
7 |
|
8 |
dev-libs/libinput: Bump to version 1.16.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
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.2.ebuild | 88 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 89 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
18 |
index 4a7831178ec..667f015eed5 100644 |
19 |
--- a/dev-libs/libinput/Manifest |
20 |
+++ b/dev-libs/libinput/Manifest |
21 |
@@ -1 +1,2 @@ |
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 |
|
25 |
diff --git a/dev-libs/libinput/libinput-1.16.2.ebuild b/dev-libs/libinput/libinput-1.16.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e2ae1921279 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libinput/libinput-1.16.2.ebuild |
30 |
@@ -0,0 +1,88 @@ |
31 |
+# Copyright 2014-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
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 ~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 |
+} |