2015-09-15 10:26:18 +01:00
|
|
|
{ stdenv, fetchurl, xorg, xorgserver, qt4, mesa, geis }:
|
2015-02-06 05:53:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "touchegg-${version}";
|
|
|
|
version = "1.1.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://touchegg.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
|
|
|
|
};
|
|
|
|
|
2015-09-15 10:26:18 +01:00
|
|
|
buildInputs = [ xorgserver mesa xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ];
|
2015-02-06 05:53:32 +00:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
sed -e "s@/usr/@$out/@g" -i $(find . -name touchegg.pro)
|
|
|
|
sed -e "s@/usr/@$out/@g" -i $(find ./src/touchegg/config/ -name Config.cpp)
|
|
|
|
qmake touchegg.pro
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://code.google.com/p/touchegg/";
|
|
|
|
description = "Macro binding for touch surfaces";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|