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