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