1 |
commit: 0cc970914c6b5b0c47896a1baec1205f5d1ebedc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 11 11:05:37 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 11 11:05:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc97091 |
7 |
|
8 |
dev-libs/libinput: Bump to version 1.12.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
dev-libs/libinput/Manifest | 1 + |
13 |
dev-libs/libinput/libinput-1.12.0.ebuild | 60 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest |
17 |
index 589a9d6f03d..23a5becb0df 100644 |
18 |
--- a/dev-libs/libinput/Manifest |
19 |
+++ b/dev-libs/libinput/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libinput-1.10.7.tar.xz 494648 BLAKE2B ddcbe5f54b90f8291c16e5912fa3d673fb2c66f0247c9d771f7c2dfeeef9b51404f31d7ac99cfd20b37e1d01d6b2b3bc95155ab6581c6a94e922e153d9098892 SHA512 b102b8065ceed7511ad26efba34d5d9b0c13f0f7aaa882bb21501f7a5166f4cbe140fcbb488e90e6880bd47bb2b27667a4d6aa79b8726269fa1337897034a684 |
22 |
DIST libinput-1.11.3.tar.xz 487408 BLAKE2B 38dc14cf018ca59279e8b6e85fd91f4b29545b4a55ab968cb11d9a8afc8d80c311efc6e57339b9baa9fb270f52cfb0758ff8ea313991867c35f3da47910977ac SHA512 5e18daab6202bcbfddeebc35dac4cabb5f726b5b73f5fc87975b58f3019a54a4b1f506a3200e920638ddddfb978a0b96c23c2e90b081942f86d33c16d4836949 |
23 |
+DIST libinput-1.12.0.tar.xz 519320 BLAKE2B b40036740350180ca0e183088651647e3604bca236ab27c99a941934b27ed67a21d8596be9baab68dd798dea9c5967cca3a038623ba2870dc2ad3db8336e0b96 SHA512 4aee877785f9ac080e4f8ee20f3643bc4f3ddbc568aca6c363a962f8c8f76b8db7dc113c8167092f0277d112346a85b9a7e7c3c3f227ed243aaba32c9092c924 |
24 |
|
25 |
diff --git a/dev-libs/libinput/libinput-1.12.0.ebuild b/dev-libs/libinput/libinput-1.12.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e26ac3c3c0f |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libinput/libinput-1.12.0.ebuild |
30 |
@@ -0,0 +1,60 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+inherit meson udev |
36 |
+ |
37 |
+DESCRIPTION="Library to handle input devices in Wayland" |
38 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/" |
39 |
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0/10" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
44 |
+IUSE="doc input_devices_wacom" |
45 |
+# Tests require write access to udev rules directory which is a no-no for live system. |
46 |
+# Other tests are just about logs, exported symbols and autotest of the test library. |
47 |
+RESTRICT="test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) |
51 |
+ >=dev-libs/libevdev-1.3 |
52 |
+ >=sys-libs/mtdev-1.1 |
53 |
+ virtual/libudev:= |
54 |
+ virtual/udev |
55 |
+" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ virtual/pkgconfig |
58 |
+ doc? ( |
59 |
+ >=app-doc/doxygen-1.8.3 |
60 |
+ >=media-gfx/graphviz-2.38.0 |
61 |
+ ) |
62 |
+" |
63 |
+# test? ( |
64 |
+# >=dev-libs/check-0.9.10 |
65 |
+# dev-util/valgrind |
66 |
+# sys-libs/libunwind ) |
67 |
+ |
68 |
+src_configure() { |
69 |
+ # gui can be built but will not be installed |
70 |
+ local emesonargs=( |
71 |
+ -Ddebug-gui=false |
72 |
+ $(meson_use doc documentation) |
73 |
+ $(meson_use input_devices_wacom libwacom) |
74 |
+ -Dtests=false # tests are restricted |
75 |
+ -Dudev-dir="$(get_udevdir)" |
76 |
+ ) |
77 |
+ meson_src_configure |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ meson_src_install |
82 |
+ if use doc ; then |
83 |
+ docinto html |
84 |
+ dodoc -r "${BUILD_DIR}"/html/. |
85 |
+ fi |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ udevadm hwdb --update --root="${ROOT%/}" |
90 |
+} |