mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
clipgrab: move to qmake4Hook
This commit is contained in:
parent
2816ad29e5
commit
3656842478
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4 }:
|
||||
{ stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4, qmake4Hook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clipgrab-${version}";
|
||||
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ ffmpeg qt4 ];
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
postPatch = stdenv.lib.optionalString (ffmpeg != null) ''
|
||||
substituteInPlace converter_ffmpeg.cpp \
|
||||
@ -18,9 +19,7 @@ stdenv.mkDerivation rec {
|
||||
--replace '"ffmpeg ' '"${ffmpeg.bin}/bin/ffmpeg '
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
qmake clipgrab.pro
|
||||
'';
|
||||
qmakeFlags = [ "clipgrab.pro" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user