Gentoo Archives: gentoo-commits

From: Tomas Chvatal <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/xf86-input-wacom/
Date: Tue, 01 Mar 2011 18:55:40
Message-Id: bb58344ac9efeabc63d4740feac4f1477429bfe3.scarabeus@gentoo
1 commit: bb58344ac9efeabc63d4740feac4f1477429bfe3
2 Author: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 18:55:23 2011 +0000
4 Commit: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 18:55:23 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=bb58344a
7
8 [x11-drivers/xf86-input-wacom] sync with main tree
9
10 ---
11 .../xf86-input-wacom/xf86-input-wacom-9999.ebuild | 32 +++++++++++--------
12 1 files changed, 18 insertions(+), 14 deletions(-)
13
14 diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-9999.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-9999.ebuild
15 index b40e189..a41005d 100644
16 --- a/x11-drivers/xf86-input-wacom/xf86-input-wacom-9999.ebuild
17 +++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-9999.ebuild
18 @@ -1,30 +1,35 @@
19 -# Copyright 1999-2010 Gentoo Foundation
20 +# Copyright 1999-2011 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22 -# $Header: $
23 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.10.8-r1.ebuild,v 1.2 2011/02/20 10:54:27 ssuominen Exp $
24
25 EAPI=4
26 +
27 inherit linux-info xorg-2
28
29 DESCRIPTION="Driver for Wacom tablets and drawing devices"
30 +HOMEPAGE="http://linuxwacom.sourceforge.net/"
31 LICENSE="GPL-2"
32 EGIT_REPO_URI="git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/${PN}"
33 [[ ${PV} != 9999* ]] && \
34 SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
35
36 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
37 -IUSE="hal debug"
38 -
39 -COMMON_DEPEND=">=x11-base/xorg-server-1.6
40 - hal? ( sys-apps/hal )"
41 -RDEPEND="${COMMON_DEPEND}
42 - !x11-drivers/linuxwacom"
43 -DEPEND="${COMMON_DEPEND}
44 +IUSE="debug"
45 +
46 +RDEPEND="!x11-drivers/linuxwacom
47 + >=x11-base/xorg-server-1.7
48 + x11-libs/libX11
49 + x11-libs/libXext
50 + x11-libs/libXi
51 + x11-libs/libXrandr"
52 +DEPEND="${RDEPEND}
53 x11-proto/inputproto
54 + x11-proto/kbproto
55 + x11-proto/randrproto
56 x11-proto/xproto"
57
58 pkg_setup() {
59 linux-info_pkg_setup
60 - xorg-2_pkg_setup
61
62 CONFIGURE_OPTIONS="$(use_enable debug)"
63 }
64 @@ -32,16 +37,15 @@ pkg_setup() {
65 src_install() {
66 xorg-2_src_install
67
68 - use hal || rm -fr "${D}/usr/share/hal"
69 -
70 + rm -rf "${D}"/usr/share/hal
71 }
72
73 pkg_postinst() {
74 xorg-2_pkg_postinst
75
76 if ! linux_config_exists \
77 - || ! linux_chkconfig_present TABLET_USB_WACOM \
78 - || ! linux_chkconfig_present INPUT_EVDEV; then
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 --->"