mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
touchegg: move to qmake4Hook
This commit is contained in:
parent
5a4cccd7e7
commit
6adce0a785
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, xorg, xorgserver, qt4, mesa, geis }:
|
||||
{ stdenv, fetchurl, xorg, xorgserver, qt4, mesa, geis, qmake4Hook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "touchegg-${version}";
|
||||
|
@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ xorgserver mesa xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ];
|
||||
|
||||
configurePhase = ''
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
preConfigure = ''
|
||||
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 = {
|
||||
|
@ -22,4 +23,4 @@ stdenv.mkDerivation rec {
|
|||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue