summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorThor A. Hopland <thorhop@gmail.com>2015-02-06 06:53:32 +0100
committerThor A. Hopland <thorhop@gmail.com>2015-02-06 06:53:32 +0100
commit28b8c50c2dab82447857611f87a704ffb3645fa6 (patch)
tree4bfc79d9795b06db27187ea9ad14f46e778b1779 /pkgs/tools/inputmethods
parent934910acdda79970ced54c1c9c961d0e142807d3 (diff)
downloadnixlib-28b8c50c2dab82447857611f87a704ffb3645fa6.tar
nixlib-28b8c50c2dab82447857611f87a704ffb3645fa6.tar.gz
nixlib-28b8c50c2dab82447857611f87a704ffb3645fa6.tar.bz2
nixlib-28b8c50c2dab82447857611f87a704ffb3645fa6.tar.lz
nixlib-28b8c50c2dab82447857611f87a704ffb3645fa6.tar.xz
nixlib-28b8c50c2dab82447857611f87a704ffb3645fa6.tar.zst
nixlib-28b8c50c2dab82447857611f87a704ffb3645fa6.zip
Added Touchegg and 3 depdenencies. Touchegg is a daemon for X that adds gesture based navigation for touch based surfaces.
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/touchegg/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/touchegg/default.nix b/pkgs/tools/inputmethods/touchegg/default.nix
new file mode 100644
index 000000000000..1cf3cfa00af7
--- /dev/null
+++ b/pkgs/tools/inputmethods/touchegg/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, xlibs, xorgserver, qt4, mesa, geis  }:
+
+stdenv.mkDerivation rec {
+  name = "touchegg-${version}";
+  version = "1.1.1";
+  src = fetchurl {
+    url = "https://touchegg.googlecode.com/files/${name}.tar.gz";
+    sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
+  };
+
+  buildInputs = [ xorgserver mesa xlibs.libX11 xlibs.libXtst xlibs.libXext qt4 geis ];
+
+  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;
+  };
+}
\ No newline at end of file