Gentoo Archives: gentoo-commits

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-input-wacom/
Date: Thu, 01 Feb 2018 13:11:09
Message-Id: 1517490651.7b38a94c619dc5a9b12adcf963c0d7467fea90e6.chithanh@gentoo
1 commit: 7b38a94c619dc5a9b12adcf963c0d7467fea90e6
2 Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 1 13:10:51 2018 +0000
4 Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 1 13:10:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b38a94c
7
8 x11-drivers/xf86-input-wacom: version bump to 0.36.0
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 x11-drivers/xf86-input-wacom/Manifest | 1 +
13 .../xf86-input-wacom-0.36.0.ebuild | 73 ++++++++++++++++++++++
14 2 files changed, 74 insertions(+)
15
16 diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest
17 index 8cb813a581c..ab7988b64c4 100644
18 --- a/x11-drivers/xf86-input-wacom/Manifest
19 +++ b/x11-drivers/xf86-input-wacom/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xf86-input-wacom-0.34.0.tar.bz2 598624 BLAKE2B 9b8b39f859a007c89ff1eb24711a2cc6a90b3106b8a3ceb2bc3c7064c14c5079e8ab08e248309ab08716da5c2e593046dd78b3d989167762c794af95b85ae95f SHA512 d0aae70853f73d989d168e054bb21ddbd2114ec6c012b1c5f949838bb20a7fe75711211886dd649ec0e9449d199da17b4ff156d5d672ad02c8b2e0b667cc40ad
22 DIST xf86-input-wacom-0.35.0.tar.bz2 601314 BLAKE2B 59c2b03b79d141b71583ce3ea6ac4957e345322b67e78f24333a3f045316aa878dbcca6a575f7daf490e2991494215d83bf28bb9ec6b8a8c133abc57d559dc44 SHA512 9586348e8da91651bc9a9ee9e74dd77f4311060538dcb228681b98300f7624401878190322dcbc4e798bd1eeeb7d2900abc3f5e949a583b6cda44821b8821058
23 +DIST xf86-input-wacom-0.36.0.tar.bz2 611678 BLAKE2B b3fc8310514e6e07c3c25fceeb982d66e9e10730028af769cd331578a48720666a0872b625beb15c7f68bbb291293dfe4c4e305411310c67bb2bd148e7d570d8 SHA512 48e4cf945eb0f5c7c65d46153756372bbfd6d1f101cd90f609c71cc21b36fa671d98c7be0b52d519775c7e7b875ec441d4308cf70d7897198600553e7a93ccc5
24
25 diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.36.0.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.36.0.ebuild
26 new file mode 100644
27 index 00000000000..1fbc8bdbfe2
28 --- /dev/null
29 +++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.36.0.ebuild
30 @@ -0,0 +1,73 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +
36 +inherit linux-info xorg-2
37 +
38 +DESCRIPTION="Driver for Wacom tablets and drawing devices"
39 +HOMEPAGE="http://linuxwacom.sourceforge.net/"
40 +LICENSE="GPL-2"
41 +EGIT_REPO_URI="git://git.code.sf.net/p/linuxwacom/${PN}"
42 +[[ ${PV} != 9999* ]] && \
43 + SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
44 +
45 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="debug"
47 +
48 +# depend on libwacom for its udev rules, bug #389633
49 +RDEPEND="dev-libs/libwacom
50 + virtual/udev
51 + >=x11-base/xorg-server-1.7
52 + x11-libs/libX11
53 + x11-libs/libXext
54 + x11-libs/libXi
55 + x11-libs/libXrandr
56 + x11-libs/libXinerama"
57 +DEPEND="${RDEPEND}
58 + x11-proto/randrproto"
59 +
60 +pkg_setup() {
61 + linux-info_pkg_setup
62 +
63 + XORG_CONFIGURE_OPTIONS=(
64 + $(use_enable debug)
65 + )
66 +}
67 +
68 +src_install() {
69 + xorg-2_src_install
70 +
71 + rm -rf "${ED}"/usr/share/hal
72 +}
73 +
74 +pkg_pretend() {
75 + linux-info_pkg_setup
76 +
77 + if kernel_is lt 3 17; then
78 + if ! linux_config_exists \
79 + || ! linux_chkconfig_present TABLET_USB_WACOM \
80 + || ! linux_chkconfig_present INPUT_EVDEV; then
81 + echo
82 + ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
83 + ewarn " Device Drivers --->"
84 + ewarn " Input device support --->"
85 + ewarn " <*> Event interface"
86 + ewarn " [*] Tablets --->"
87 + ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
88 + echo
89 + fi
90 + else
91 + if ! linux_config_exists \
92 + || ! linux_chkconfig_present HID_WACOM; then
93 + echo
94 + ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
95 + ewarn " Device Drivers --->"
96 + ewarn " HID support --->"
97 + ewarn " Special HID drivers --->"
98 + ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
99 + echo
100 + fi
101 + fi
102 +
103 +}