From f3ba7a4117e0fd165d9f1b7769aa94995072104a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 22 Mar 2012 08:37:18 +0100 Subject: [PATCH] New package: xf86-input-wacom-0.14.0. --- srcpkgs/xf86-input-wacom-devel | 1 + srcpkgs/xf86-input-wacom/files/70-wacom.rules | 12 ++++++++++ srcpkgs/xf86-input-wacom/template | 23 +++++++++++++++++++ .../xf86-input-wacom-devel.template | 13 +++++++++++ .../xf86-input-wacom/xf86-input-wacom.rshlibs | 6 +++++ 5 files changed, 55 insertions(+) create mode 120000 srcpkgs/xf86-input-wacom-devel create mode 100644 srcpkgs/xf86-input-wacom/files/70-wacom.rules create mode 100644 srcpkgs/xf86-input-wacom/template create mode 100644 srcpkgs/xf86-input-wacom/xf86-input-wacom-devel.template create mode 100644 srcpkgs/xf86-input-wacom/xf86-input-wacom.rshlibs diff --git a/srcpkgs/xf86-input-wacom-devel b/srcpkgs/xf86-input-wacom-devel new file mode 120000 index 00000000000..05b9c21dca2 --- /dev/null +++ b/srcpkgs/xf86-input-wacom-devel @@ -0,0 +1 @@ +xf86-input-wacom \ No newline at end of file diff --git a/srcpkgs/xf86-input-wacom/files/70-wacom.rules b/srcpkgs/xf86-input-wacom/files/70-wacom.rules new file mode 100644 index 00000000000..f6aa208354e --- /dev/null +++ b/srcpkgs/xf86-input-wacom/files/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/srcpkgs/xf86-input-wacom/template b/srcpkgs/xf86-input-wacom/template new file mode 100644 index 00000000000..9382ae82fa4 --- /dev/null +++ b/srcpkgs/xf86-input-wacom/template @@ -0,0 +1,23 @@ +# Template build file for 'xf86-input-wacom'. +pkgname=xf86-input-wacom +version=0.14.0 +distfiles="${SOURCEFORGE_SITE}/linuxwacom/$pkgname-$version.tar.bz2" +build_style=gnu-configure +short_desc="Xorg Wacom tablet input driver" +maintainer="Juan RP " +checksum=929817ec7979d87432226245c687a1fdd211dcd3057c9d10dce72a933d80a69e +long_desc=" + This package provides the Xorg event device input driver for the + Wacom tablets." + +subpackages="$pkgname-devel" + +Add_dependency run xorg-server +Add_dependency build xorg-server-devel +Add_dependency build libXrandr-devel +Add_dependency build libXinerama-devel +Add_dependency build libXi-devel + +post_install() { + vinstall ${FILESDIR}/70-wacom.rules 644 lib/udev/rules.d +} diff --git a/srcpkgs/xf86-input-wacom/xf86-input-wacom-devel.template b/srcpkgs/xf86-input-wacom/xf86-input-wacom-devel.template new file mode 100644 index 00000000000..48c98d6f682 --- /dev/null +++ b/srcpkgs/xf86-input-wacom/xf86-input-wacom-devel.template @@ -0,0 +1,13 @@ +# Template file for 'xf86-input-wacom-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +noarch=yes + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/xf86-input-wacom/xf86-input-wacom.rshlibs b/srcpkgs/xf86-input-wacom/xf86-input-wacom.rshlibs new file mode 100644 index 00000000000..d19020ce6a8 --- /dev/null +++ b/srcpkgs/xf86-input-wacom/xf86-input-wacom.rshlibs @@ -0,0 +1,6 @@ +libm.so.6 +libc.so.6 +libX11.so.6 +libXi.so.6 +libXrandr.so.2 +libXinerama.so.1