1 |
commit: 64f21fec630b30508dc28cd6249c9a4fa331ab06 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 30 15:12:24 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 30 15:14:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f21fec |
7 |
|
8 |
x11-drivers/xf86-input-wacom: Version bump to 1.0.0 |
9 |
|
10 |
package.mask'd for now. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/848501 |
13 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
14 |
|
15 |
profiles/package.mask | 1 + |
16 |
x11-drivers/xf86-input-wacom/Manifest | 1 + |
17 |
.../xf86-input-wacom/xf86-input-wacom-1.0.0.ebuild | 77 ++++++++++++++++++++++ |
18 |
3 files changed, 79 insertions(+) |
19 |
|
20 |
diff --git a/profiles/package.mask b/profiles/package.mask |
21 |
index 474b25296bd0..01d3b8d0aea6 100644 |
22 |
--- a/profiles/package.mask |
23 |
+++ b/profiles/package.mask |
24 |
@@ -37,6 +37,7 @@ |
25 |
# libwacom-2 broke ABI compatibility; reverse dependencies need to be updated. |
26 |
# Bug #848501 |
27 |
>=dev-libs/libwacom-2.0 |
28 |
+>=x11-drivers/xf86-input-wacom-1.0 |
29 |
|
30 |
# Hans de Graaff <graaff@g.o> (2022-05-29) |
31 |
# Old slots that are no longer used by dependencies. Upgrade to the |
32 |
|
33 |
diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest |
34 |
index 69c6988a049b..284d06915322 100644 |
35 |
--- a/x11-drivers/xf86-input-wacom/Manifest |
36 |
+++ b/x11-drivers/xf86-input-wacom/Manifest |
37 |
@@ -1 +1,2 @@ |
38 |
DIST xf86-input-wacom-0.40.0.tar.bz2 629310 BLAKE2B 63b930d3cd786d825250048fdf368fff4e607a39bfabee44e42a2c3ce9693c44ec8966871759d06b823f0568c4e3c2aee003633b863f5437eedc3125f19dd351 SHA512 ce0a24e2e9b4768e7eb65a5c663b3adce856356da7b83a1367dd7e031525805fc26d0b7c8b176a21fcd949c757940e18fec51d7253da157c0ac43ca446c4e536 |
39 |
+DIST xf86-input-wacom-1.0.0.tar.bz2 629019 BLAKE2B 4270dd4988a40d1307d15fce7fa0b6748db754e779cff5473b7a8f8ca5d0bbb36fd6125186e3ddba073f5521ee5c8657523d57dfaa82937a9d50b06605bcb8d1 SHA512 61b48380d8874241bbf687a3916aa089af087e50be93034cfc701a3311513ff855705e3e4073590a1b55be9751ab744166ddf14aa2311fdf0ccc01122af8e315 |
40 |
|
41 |
diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.0.0.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.0.0.ebuild |
42 |
new file mode 100644 |
43 |
index 000000000000..3805f49a4e28 |
44 |
--- /dev/null |
45 |
+++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.0.0.ebuild |
46 |
@@ -0,0 +1,77 @@ |
47 |
+# Copyright 1999-2022 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=8 |
51 |
+ |
52 |
+inherit linux-info systemd udev xorg-3 meson |
53 |
+ |
54 |
+DESCRIPTION="Driver for Wacom tablets and drawing devices" |
55 |
+HOMEPAGE="https://linuxwacom.github.io/" |
56 |
+LICENSE="GPL-2" |
57 |
+SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.bz2" |
58 |
+ |
59 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
60 |
+IUSE="test" |
61 |
+RESTRICT="!test? ( test )" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ >=dev-libs/libwacom-2:= |
65 |
+ >=x11-base/xorg-server-1.13:= |
66 |
+ x11-libs/libX11 |
67 |
+ x11-libs/libXext |
68 |
+ x11-libs/libXi |
69 |
+ x11-libs/libXrandr |
70 |
+ x11-libs/libXinerama |
71 |
+ virtual/libudev:=" |
72 |
+DEPEND="${RDEPEND} |
73 |
+ x11-base/xorg-proto" |
74 |
+ |
75 |
+pkg_pretend() { |
76 |
+ linux-info_pkg_setup |
77 |
+ |
78 |
+ if kernel_is lt 3 17; then |
79 |
+ if ! linux_config_exists \ |
80 |
+ || ! linux_chkconfig_present TABLET_USB_WACOM \ |
81 |
+ || ! linux_chkconfig_present INPUT_EVDEV; then |
82 |
+ echo |
83 |
+ ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel" |
84 |
+ ewarn " Device Drivers --->" |
85 |
+ ewarn " Input device support --->" |
86 |
+ ewarn " <*> Event interface" |
87 |
+ ewarn " [*] Tablets --->" |
88 |
+ ewarn " <*> Wacom Intuos/Graphire tablet support (USB)" |
89 |
+ echo |
90 |
+ fi |
91 |
+ else |
92 |
+ if ! linux_config_exists \ |
93 |
+ || ! linux_chkconfig_present HID_WACOM; then |
94 |
+ echo |
95 |
+ ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel" |
96 |
+ ewarn " Device Drivers --->" |
97 |
+ ewarn " HID support --->" |
98 |
+ ewarn " Special HID drivers --->" |
99 |
+ ewarn " <*> Wacom Intuos/Graphire tablet support (USB)" |
100 |
+ echo |
101 |
+ fi |
102 |
+ fi |
103 |
+} |
104 |
+ |
105 |
+pkg_setup() { |
106 |
+ linux-info_pkg_setup |
107 |
+} |
108 |
+ |
109 |
+src_configure() { |
110 |
+ xorg-3_flags_setup |
111 |
+ |
112 |
+ local emesonargs=( |
113 |
+ -Dsystemd-unit-dir="$(systemd_get_systemunitdir)" |
114 |
+ -Dudev-rules-dir="$(get_udevdir)/rules.d" |
115 |
+ $(meson_feature test unittests) |
116 |
+ -Dwacom-gobject=disabled |
117 |
+ ) |
118 |
+ meson_src_configure |
119 |
+} |
120 |
+ |
121 |
+pkg_postinst() { |
122 |
+ udev_reload |
123 |
+} |