1 |
commit: a1884920e44debfc789d07c4e9312e8f6ea2ab0b |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 24 13:00:58 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 24 13:08:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1884920 |
7 |
|
8 |
dev-libs/libinput: Bump to versionb 1.13.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libinput/Manifest | 1 + |
14 |
dev-libs/libinput/libinput-1.13.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 031ec2d3f46..b4c7e9a7b2d 100644 |
19 |
--- a/dev-libs/libinput/Manifest |
20 |
+++ b/dev-libs/libinput/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST libinput-1.12.6.tar.xz 518784 BLAKE2B 7462f47be3628f9c66ef5b7c8265b588bd0ca328bafe91932f5341a010ac882648b4e7cfd0db241ae526836172e0829d68d21f8966d2be8b49f4e1c0c40df018 SHA512 02ad90c77a0c8c27fd96ec34e1546c5f0947ced49bad386372c1ef7c41b3b2157c39020f0766f20aaf2ab3c97128567e169279bea21115ced39499dda325d2ef |
23 |
DIST libinput-1.13.1.tar.xz 529516 BLAKE2B 9eb9952ca2762470ee3e9ac0eab6b11c4b404b2702cd81b9f0720e539124a8f71a032803cf77105bbdce412b3c5d4a7fee4e24b8d3ceae991bd2ee9b3460e373 SHA512 a19deec802e704038df0901c103a82a3370f56e0299f4cc1b6aa84c1832a66fb638e6f9d0fa708b51df6c3b939cdc1271e4ff547c645c566be03dce0bc9ff7e0 |
24 |
DIST libinput-1.13.2.tar.xz 529488 BLAKE2B 489f962ca0b0385817fc76a5bc7254143d12c07e32a91dd118dca53fcdd6eaf5d2eef8aa5c5598a2aadda9e4a20b8a4c9340b60dee8286cd322fe2d294f1f6b7 SHA512 26f11c5274c26acc38b9b5729195010c0799a9563f1eb0e0cd67e323f8ed73b0fc8db8584ec8fdf1b726417f64c2daeb54832167079832626c8c1190fccf459f |
25 |
+DIST libinput-1.13.3.tar.xz 530916 BLAKE2B af88659252d509c22ad255963353109ad9cf05171b3bf2222f6d71872b6d2675a524c54a6ec0af28e1eab484dfeb91a9cd9db227084ffbfd6469d5726c4c882f SHA512 427ec838975444571770e129ef78fd42e4438a11e89ed0b3fc98793184d00c0ca8ed282eab2045cc6cb345804ad6fce1061af563b4f41d75405cdf2f09cb01e1 |
26 |
|
27 |
diff --git a/dev-libs/libinput/libinput-1.13.3.ebuild b/dev-libs/libinput/libinput-1.13.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..fd529371d3d |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libinput/libinput-1.13.3.ebuild |
32 |
@@ -0,0 +1,78 @@ |
33 |
+# Copyright 2014-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
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 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
48 |
+IUSE="doc input_devices_wacom" |
49 |
+# Tests require write access to udev rules directory which is a no-no for live system. |
50 |
+# Other tests are just about logs, exported symbols and autotest of the test library. |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ virtual/pkgconfig |
55 |
+ doc? ( |
56 |
+ $(python_gen_any_dep ' |
57 |
+ dev-python/commonmark[${PYTHON_USEDEP}] |
58 |
+ dev-python/recommonmark[${PYTHON_USEDEP}] |
59 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}] |
61 |
+ ') |
62 |
+ >=app-doc/doxygen-1.8.3 |
63 |
+ >=media-gfx/graphviz-2.38.0 |
64 |
+ ) |
65 |
+" |
66 |
+# test? ( dev-util/valgrind ) |
67 |
+RDEPEND=" |
68 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) |
69 |
+ >=dev-libs/libevdev-1.3 |
70 |
+ >=sys-libs/mtdev-1.1 |
71 |
+ virtual/libudev:= |
72 |
+ virtual/udev |
73 |
+" |
74 |
+DEPEND="${RDEPEND}" |
75 |
+# test? ( >=dev-libs/check-0.9.10 ) |
76 |
+ |
77 |
+python_check_deps() { |
78 |
+ has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ |
79 |
+ has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ |
80 |
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \ |
81 |
+ has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]" |
82 |
+} |
83 |
+ |
84 |
+pkg_setup() { |
85 |
+ use doc && python-any-r1_pkg_setup |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ # gui can be built but will not be installed |
90 |
+ local emesonargs=( |
91 |
+ -Ddebug-gui=false |
92 |
+ $(meson_use doc documentation) |
93 |
+ $(meson_use input_devices_wacom libwacom) |
94 |
+ -Dtests=false # tests are restricted |
95 |
+ -Dudev-dir="$(get_udevdir)" |
96 |
+ ) |
97 |
+ meson_src_configure |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ meson_src_install |
102 |
+ if use doc ; then |
103 |
+ docinto html |
104 |
+ dodoc -r "${BUILD_DIR}"/Documentation/. |
105 |
+ fi |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ udevadm hwdb --update --root="${ROOT%/}" |
110 |
+} |