2016-04-17 01:52:46 +02:00
|
|
|
{ stdenv, fetchurl, xorg, xorgserver, qt4, mesa, geis, qmake4Hook }:
|
2015-02-06 06:53:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "touchegg-${version}";
|
|
|
|
version = "1.1.1";
|
|
|
|
src = fetchurl {
|
2017-10-27 01:44:19 +02:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/touchegg/${name}.tar.gz";
|
2015-02-06 06:53:32 +01:00
|
|
|
sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
|
|
|
|
};
|
|
|
|
|
2015-09-15 11:26:18 +02:00
|
|
|
buildInputs = [ xorgserver mesa xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ];
|
2015-02-06 06:53:32 +01:00
|
|
|
|
2016-04-17 01:52:46 +02:00
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
2015-02-06 06:53:32 +01:00
|
|
|
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)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-10-27 01:44:19 +02:00
|
|
|
homepage = https://github.com/JoseExposito/touchegg;
|
2015-02-06 06:53:32 +01:00
|
|
|
description = "Macro binding for touch surfaces";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2016-04-17 01:52:46 +02:00
|
|
|
}
|