2011-08-18 05:52:57 -07:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, file, inputproto, libX11, libXext, libXi, libXrandr, libXrender
|
2012-07-15 20:03:23 -07:00
|
|
|
, ncurses, pkgconfig, randrproto, xorgserver, xproto, udev, libXinerama, pixman }:
|
2010-04-11 15:42:28 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-01-01 05:16:32 -08:00
|
|
|
name = "xf86-input-wacom-0.32.0";
|
2010-04-11 15:42:28 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-18 05:52:57 -07:00
|
|
|
url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2";
|
2016-01-01 05:16:32 -08:00
|
|
|
sha256 = "03c73vi5rrcr92442k82f4kbabp21yqcrqi6ak2afl41zjdar5wc";
|
2010-04-11 15:42:28 -07:00
|
|
|
};
|
|
|
|
|
2011-08-18 05:52:57 -07:00
|
|
|
buildInputs = [ inputproto libX11 libXext libXi libXrandr libXrender
|
2012-07-15 20:03:23 -07:00
|
|
|
ncurses pkgconfig randrproto xorgserver xproto udev libXinerama pixman ];
|
2010-04-11 15:42:28 -07:00
|
|
|
|
|
|
|
preConfigure = ''
|
2012-01-18 12:16:00 -08:00
|
|
|
mkdir -p $out/share/X11/xorg.conf.d
|
2011-01-27 13:10:41 -08:00
|
|
|
configureFlags="--with-xorg-module-dir=$out/lib/xorg/modules
|
|
|
|
--with-sdkdir=$out/include/xorg --with-xorg-conf-dir=$out/share/X11/xorg.conf.d"
|
2010-04-11 15:42:28 -07:00
|
|
|
'';
|
|
|
|
|
2012-07-15 20:03:23 -07:00
|
|
|
CFLAGS = "-I${pixman}/include/pixman-1";
|
|
|
|
|
2010-05-05 11:23:08 -07:00
|
|
|
meta = with stdenv.lib; {
|
2011-02-16 15:37:13 -08:00
|
|
|
maintainers = [ maintainers.goibhniu maintainers.urkud ];
|
2010-04-11 15:42:28 -07:00
|
|
|
description = "Wacom digitizer driver for X11";
|
|
|
|
homepage = http://linuxwacom.sourceforge.net;
|
2011-02-16 15:37:13 -08:00
|
|
|
license = licenses.gpl2;
|
2010-05-05 11:23:08 -07:00
|
|
|
platforms = platforms.linux; # Probably, works with other unices as well
|
2010-04-11 15:42:28 -07:00
|
|
|
};
|
|
|
|
}
|