1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00
nixpkgs/pkgs/tools/inputmethods/touchegg/default.nix
Vladimír Čunát 88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00

25 lines
797 B
Nix

{ stdenv, fetchurl, xorg, 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 xorg.libX11 xorg.libXtst xorg.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;
};
}