1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit linux-info xorg-2
9 DESCRIPTION="Driver for Wacom tablets and drawing devices"
10 HOMEPAGE="http://linuxwacom.sourceforge.net/"
12 EGIT_REPO_URI="git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/${PN}"
13 [[ ${PV} != 9999* ]] && \
14 SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
16 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
19 # depend on libwacom for its udev rules, bug #389633
20 RDEPEND="dev-libs/libwacom
22 >=x11-base/xorg-server-1.7
34 XORG_CONFIGURE_OPTIONS=(
42 rm -rf "${ED}"/usr/share/hal
48 if ! linux_config_exists \
49 || ! linux_chkconfig_present TABLET_USB_WACOM \
50 || ! linux_chkconfig_present INPUT_EVDEV; then
52 ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
53 ewarn " Device Drivers --->"
54 ewarn " Input device support --->"
55 ewarn " <*> Event interface"
56 ewarn " [*] Tablets --->"
57 ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"