Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-input-wacom/
Date: Sun, 02 Feb 2020 02:53:01
Message-Id: 1580611675.7e75f41d89436d12694dc4ba9605e88cdc7f8a45.mattst88@gentoo
1 commit: 7e75f41d89436d12694dc4ba9605e88cdc7f8a45
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 02:46:10 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 02:47:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e75f41d
7
8 x11-drivers/xf86-input-wacom: Version bump to 0.39.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-drivers/xf86-input-wacom/Manifest | 1 +
13 .../xf86-input-wacom-0.39.0.ebuild | 67 ++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest
17 index de162ee2c01..0fb435f25bc 100644
18 --- a/x11-drivers/xf86-input-wacom/Manifest
19 +++ b/x11-drivers/xf86-input-wacom/Manifest
20 @@ -1 +1,2 @@
21 DIST xf86-input-wacom-0.38.0.tar.bz2 621356 BLAKE2B b5bf1bca3b49035981e77348ef9a6a0382c204bce473af51e17ba5c9297da7d9cc9bc621f42a2babf62106c2bbfd149fbac3feb4057234da77d8ba16ab446d8d SHA512 853d0d91c5a18a96ccf9e30abdabc69c1bc9fc3c067746762eb789240272d1d7faaaa4524e60fd299f44d9f6603adb2de69caf697cde3f841debab8232d983b5
22 +DIST xf86-input-wacom-0.39.0.tar.bz2 622440 BLAKE2B c0a76c36e03bc4153ac62fa61dc5a588588f5d4dfff0bc0710ef20cc4be9cb80e4fd972d1edc734a18155926c77c8a205e5a55e0e223dc2af96a193da1bdbcb3 SHA512 9ad92c86c4ba3587d68e2107057c89dfe8628c0a2ec882f5a424ab4983c18ff6048489d7f6d3a8de87403744f74de1982de25327fc955bb5c21346a242e0aaa3
23
24 diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.39.0.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.39.0.ebuild
25 new file mode 100644
26 index 00000000000..883e72b3e70
27 --- /dev/null
28 +++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.39.0.ebuild
29 @@ -0,0 +1,67 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit linux-info systemd udev xorg-3
36 +
37 +DESCRIPTION="Driver for Wacom tablets and drawing devices"
38 +HOMEPAGE="https://linuxwacom.github.io/"
39 +LICENSE="GPL-2"
40 +EGIT_REPO_URI="https://github.com/linuxwacom/xf86-input-wacom"
41 +[[ ${PV} != 9999* ]] && \
42 + SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.bz2"
43 +
44 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
45 +IUSE="debug"
46 +
47 +RDEPEND="dev-libs/libwacom
48 + virtual/libudev:=
49 + >=x11-base/xorg-server-1.7
50 + x11-libs/libX11
51 + x11-libs/libXext
52 + x11-libs/libXi
53 + x11-libs/libXrandr
54 + x11-libs/libXinerama"
55 +DEPEND="${RDEPEND}
56 + x11-base/xorg-proto"
57 +
58 +pkg_setup() {
59 + linux-info_pkg_setup
60 +
61 + XORG_CONFIGURE_OPTIONS=(
62 + --with-systemd-unit-dir="$(systemd_get_systemunitdir)"
63 + --with-udev-rules-dir="$(get_udevdir)/rules.d"
64 + $(use_enable debug)
65 + )
66 +}
67 +
68 +pkg_pretend() {
69 + linux-info_pkg_setup
70 +
71 + if kernel_is lt 3 17; then
72 + if ! linux_config_exists \
73 + || ! linux_chkconfig_present TABLET_USB_WACOM \
74 + || ! linux_chkconfig_present INPUT_EVDEV; then
75 + echo
76 + ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
77 + ewarn " Device Drivers --->"
78 + ewarn " Input device support --->"
79 + ewarn " <*> Event interface"
80 + ewarn " [*] Tablets --->"
81 + ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
82 + echo
83 + fi
84 + else
85 + if ! linux_config_exists \
86 + || ! linux_chkconfig_present HID_WACOM; then
87 + echo
88 + ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
89 + ewarn " Device Drivers --->"
90 + ewarn " HID support --->"
91 + ewarn " Special HID drivers --->"
92 + ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
93 + echo
94 + fi
95 + fi
96 +}