2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, xorg, xorgserver, qt4, libGLU, libGL, geis, qmake4Hook }:
|
2015-02-06 05:53:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "touchegg";
|
2015-02-06 05:53:32 +00:00
|
|
|
version = "1.1.1";
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/touchegg/${pname}-${version}.tar.gz";
|
2015-02-06 05:53:32 +00:00
|
|
|
sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
|
|
|
|
};
|
|
|
|
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ xorgserver libGLU libGL xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ];
|
2015-02-06 05:53:32 +00:00
|
|
|
|
2016-04-16 23:52:46 +00:00
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
2015-02-06 05:53:32 +00: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 = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/JoseExposito/touchegg";
|
2015-02-06 05:53:32 +00:00
|
|
|
description = "Macro binding for touch surfaces";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2015-02-06 05:53:32 +00:00
|
|
|
};
|
2016-04-16 23:52:46 +00:00
|
|
|
}
|