Update LinuxWacom driver

svn path=/nixpkgs/trunk/; revision=16565
This commit is contained in:
Michael Raskin 2009-08-03 14:15:22 +00:00
parent aba7c58eb5
commit caede3beb5
3 changed files with 26 additions and 7 deletions

View File

@ -1,19 +1,36 @@
{stdenv, fetchurl, libX11, libXi, udevSupport ? false}:
{stdenv, fetchurl, libX11, libXi,
inputproto, xproto, ncurses, pkgconfig,
xorgserver,
udevSupport ? false}:
stdenv.mkDerivation {
name = "linuxwacom-0.7.2";
name = "linuxwacom-0.8.4";
src = fetchurl {
url = http://nixos.org/tarballs/linuxwacom-0.7.2.tar.bz2;
md5 = "3f6290101d5712a24097243ca9f092ed";
url = "http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.4.tar.bz2";
sha256 = "1g1myn9wmczavkkb9jjfqq87la3n94nnwjm7w7yyyxsrdw4bavp5";
};
buildInputs = [libX11 libXi];
buildInputs = [libX11 libXi inputproto
xproto ncurses pkgconfig xorgserver];
preConfigure = ''
./configure --enable-wacomdrv --prefix=$out \
--with-xlib --with-xorg-sdk --enable-wacdump --enable-xsetwacom \
--with-xmoduledir=$out/lib/xorg/modules/input
mv configure configure.removed
'';
postInstall = ''
if test -n "${toString udevSupport}"; then
ensureDir $out/etc/udev/rules.d
cp ${./10-wacom.rules} $out/etc/udev/rules.d/10-wacom.rules
fi
'';
meta = {
maintainers = [stdenv.lib.maintainers.raskin];
description = "Wacom digitizer driver for X11";
homepage = http://linuxwacom.sf.net;
};
}

View File

@ -7802,8 +7802,9 @@ let
};
linuxwacom = import ../misc/linuxwacom {
inherit fetchurl stdenv;
inherit (xlibs) libX11 libXi;
inherit fetchurl stdenv ncurses pkgconfig;
inherit (xorg) libX11 libXi xproto inputproto
xorgserver;
};
martyr = import ../development/libraries/martyr {

View File

@ -218,6 +218,7 @@ in {
libtopology = all;
libxml2 = all;
libxslt = all;
linuxwacom = linux;
lout = linux;
lsh = linux;
lsof = linux;