2012-03-20 02:48:09 +01:00
|
|
|
{
|
|
|
|
stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, utilmacros
|
|
|
|
, pkgconfig
|
|
|
|
, libtool
|
|
|
|
, mtdev
|
|
|
|
, xorgserver
|
|
|
|
, xproto
|
|
|
|
, inputproto
|
2012-07-14 22:32:20 +02:00
|
|
|
, pixman
|
2012-03-20 02:48:09 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-07-14 22:32:20 +02:00
|
|
|
name = "xf86-input-mtrack-0.3.0";
|
2012-03-20 02:48:09 +01:00
|
|
|
|
|
|
|
preConfigure = "autoreconf -vfi";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
utilmacros
|
|
|
|
pkgconfig
|
|
|
|
libtool
|
|
|
|
mtdev
|
|
|
|
xorgserver
|
|
|
|
xproto
|
|
|
|
inputproto
|
2012-07-14 22:32:20 +02:00
|
|
|
pixman
|
2012-03-20 02:48:09 +01:00
|
|
|
];
|
|
|
|
|
2012-07-14 22:32:20 +02:00
|
|
|
CFLAGS = "-I${pixman}/include/pixman-1";
|
|
|
|
|
2012-03-20 02:48:09 +01:00
|
|
|
src = fetchurl {
|
|
|
|
name = "xf86-input-mtrack.tar.gz";
|
2012-07-14 22:32:20 +02:00
|
|
|
url = "https://github.com/BlueDragonX/xf86-input-mtrack/tarball/v0.3.0";
|
|
|
|
sha256 = "174rdw7gv0wsnjgmwpx4pgjn1zfbylflda4k2dzff6phzxj9yl6v";
|
2012-03-20 02:48:09 +01:00
|
|
|
};
|
2012-03-20 02:51:03 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/BlueDragonX/xf86-input-mtrack;
|
|
|
|
|
|
|
|
description = "An Xorg driver for multitouch trackpads";
|
|
|
|
|
|
|
|
license = "gplv2";
|
|
|
|
};
|
2012-03-20 02:48:09 +01:00
|
|
|
}
|
2012-07-14 22:32:20 +02:00
|
|
|
|