1 |
commit: 27405a999e423cbad0a13e807f810f18e6210ffb |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 29 14:48:13 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 29 14:48:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27405a99 |
7 |
|
8 |
dev-libs/libinput: Bump to version 1.14.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libinput/Manifest | 1 + |
14 |
dev-libs/libinput/libinput-1.14.3.ebuild | 78 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
18 |
index 47bf2f9c6f2..08f9cc195b4 100644 |
19 |
--- a/dev-libs/libinput/Manifest |
20 |
+++ b/dev-libs/libinput/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libinput-1.14.1.tar.xz 564412 BLAKE2B 185cede0e5d74dc27f544996aa003d50556ef50f432c73a45a1cffeac921ecc0a5c5c82158292bcd18a692d745fed552545e5ab60bcc29fb1451529cbdc7a57e SHA512 8416bab51ba1aab924fa1b41360bc2ad101fb60d3a82c73584bb1e2454554524716673e3eac7f08c18bd6a1ecdfa52ea3cfe09c7a866c59fcd47d75960e82d4c |
23 |
DIST libinput-1.14.2.tar.xz 566976 BLAKE2B 498b7032122b2d757e691663bde9ca0025af92d33a5e4b03bf9ce87ec8a4d4c47fe07939583d7450626208ca761efde2de14a327e0fcd794699cc9b72b928e79 SHA512 932949a78bf95a7a05f50170cfc7dc109c99e1e3e70e63797566c0c3a3003632cad56e9b9ca2a180880f5e2ec1060613066d068b384096f37785fe70ac30c1eb |
24 |
+DIST libinput-1.14.3.tar.xz 567560 BLAKE2B 76d38b795a5e721a73062e9c37b23bf6739291549cadc66401ef47b1a9afd5766f1d0ed855fc66912e4257fae4b1b813946c67246adb8d8566d5ad9478079636 SHA512 f01d1bd1b25b8060519575644597d35f0c89de5386d298441f440128ceee3e57549921a058adec31adc8b33dbdedf4c0bd12c76905a69f752859d3136e26336d |
25 |
|
26 |
diff --git a/dev-libs/libinput/libinput-1.14.3.ebuild b/dev-libs/libinput/libinput-1.14.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c6c5651aad4 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libinput/libinput-1.14.3.ebuild |
31 |
@@ -0,0 +1,78 @@ |
32 |
+# Copyright 2014-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
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 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
47 |
+IUSE="doc input_devices_wacom" |
48 |
+# Tests require write access to udev rules directory which is a no-no for live system. |
49 |
+# Other tests are just about logs, exported symbols and autotest of the test library. |
50 |
+RESTRICT="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_configure() { |
88 |
+ # gui can be built but will not be installed |
89 |
+ local emesonargs=( |
90 |
+ -Ddebug-gui=false |
91 |
+ $(meson_use doc documentation) |
92 |
+ $(meson_use input_devices_wacom libwacom) |
93 |
+ -Dtests=false # tests are restricted |
94 |
+ -Dudev-dir="$(get_udevdir)" |
95 |
+ ) |
96 |
+ meson_src_configure |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ meson_src_install |
101 |
+ if use doc ; then |
102 |
+ docinto html |
103 |
+ dodoc -r "${BUILD_DIR}"/Documentation/. |
104 |
+ fi |
105 |
+} |
106 |
+ |
107 |
+pkg_postinst() { |
108 |
+ udevadm hwdb --update --root="${ROOT}" |
109 |
+} |