diff options
author | root <root@rshg054.dnsready.net> | 2011-08-12 23:14:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-12 23:14:35 +0000 |
commit | 3b2bf66355e8254bc2f033dab2dfea9e2978fa4d (patch) | |
tree | 71995991b30b0bfc7deb0c92f1da969bbfd91ec7 /staging/xf86-input-wacom | |
parent | eddbc98aa28d38b35833cfb1a4a3cf632c9f2b47 (diff) |
Fri Aug 12 23:14:35 UTC 2011
Diffstat (limited to 'staging/xf86-input-wacom')
-rw-r--r-- | staging/xf86-input-wacom/70-wacom.rules | 12 | ||||
-rw-r--r-- | staging/xf86-input-wacom/PKGBUILD | 35 |
2 files changed, 47 insertions, 0 deletions
diff --git a/staging/xf86-input-wacom/70-wacom.rules b/staging/xf86-input-wacom/70-wacom.rules new file mode 100644 index 000000000..f6aa20835 --- /dev/null +++ b/staging/xf86-input-wacom/70-wacom.rules @@ -0,0 +1,12 @@ +ACTION!="add|change", GOTO="wacom_end" + +# Match all serial wacom tablets with a serial ID starting with WACf +# Notes: We assign NAME though we shouldn't, but currently the server requires it +# We assign the lot to subsystem pnp too because server reads NAME from +# the parent device. Once all that's fixed, as simple SUBSYSTEM="tty" +# will do and the ENV{NAME} can be removed. +SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}" +SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}" + +LABEL="wacom_end" + diff --git a/staging/xf86-input-wacom/PKGBUILD b/staging/xf86-input-wacom/PKGBUILD new file mode 100644 index 000000000..9f693c3c5 --- /dev/null +++ b/staging/xf86-input-wacom/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 135212 2011-08-11 07:18:08Z jgc $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: M Rawash <mrawash@gmail.com> + +pkgname=xf86-input-wacom +pkgver=0.11.1 +pkgrel=3 +pkgdesc="X.Org Wacom tablet driver" +arch=('i686' 'x86_64') +url="http://linuxwacom.sourceforge.net/" +license=('GPL') +backup=('etc/X11/xorg.conf.d/50-wacom.conf') +depends=('libxi' 'libxrandr') +makedepends=('xorg-server-devel>=1.10.99.902' 'libxext' 'libxi') +conflicts=('xorg-server<1.10.99.902') +options=(!libtool) +source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2 + 70-wacom.rules) +md5sums=('0aec4a338cc583ed497b6af68d6d80ab' + '10db4f8272286690255c1bcc18bfdd92') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/lib/udev/rules.d" + install -m644 "${srcdir}/70-wacom.rules" "${pkgdir}/lib/udev/rules.d/" +} |