diff options
author | root <root@rshg054.dnsready.net> | 2012-10-07 00:37:20 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-07 00:37:20 -0700 |
commit | 682e4a12f537d598cb116ba394ceeae1eafc281e (patch) | |
tree | b48c04d80686157d339741b922053c2e88b15d68 /testing/xf86-input-wacom | |
parent | e7552010f531ef1b114352f0ce71a307360bf1d4 (diff) |
Sun Oct 7 00:37:16 PDT 2012
Diffstat (limited to 'testing/xf86-input-wacom')
-rw-r--r-- | testing/xf86-input-wacom/70-wacom.rules | 12 | ||||
-rw-r--r-- | testing/xf86-input-wacom/PKGBUILD | 34 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/xf86-input-wacom/70-wacom.rules b/testing/xf86-input-wacom/70-wacom.rules new file mode 100644 index 000000000..f6aa20835 --- /dev/null +++ b/testing/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/testing/xf86-input-wacom/PKGBUILD b/testing/xf86-input-wacom/PKGBUILD new file mode 100644 index 000000000..8bc2188ff --- /dev/null +++ b/testing/xf86-input-wacom/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 168215 2012-10-06 20:06:42Z andyrtr $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: M Rawash <mrawash@gmail.com> + +pkgname=xf86-input-wacom +pkgver=0.17.0 +pkgrel=2 +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' 'libxinerama') +makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=18' 'resourceproto' 'scrnsaverproto') +conflicts=('xorg-server<1.13.0' 'X-ABI-XINPUT_VERSION<18' 'X-ABI-XINPUT_VERSION>=19') +options=(!libtool) +source=(http://downloads.sourceforge.net/project/linuxwacom/$pkgname/$pkgname-$pkgver.tar.bz2 + 70-wacom.rules) +md5sums=('92dffefc3bc30523463f2fa4bc753448' + '10db4f8272286690255c1bcc18bfdd92') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm644 ../70-wacom.rules "$pkgdir/usr/lib/udev/rules.d/70-wacom.rules" +} |