shotcut: move to qmakeHook

This reverts commit dbc1605dea.
This commit is contained in:
Nikolay Amiantov 2016-04-16 22:59:18 +03:00
parent 7e4e4799f4
commit 577ea10f68

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, SDL, frei0r, gettext, makeWrapper, mlt, pkgconfig, qtbase }:
{ stdenv, fetchurl, SDL, frei0r, gettext, makeWrapper, mlt, pkgconfig, qtbase, qmakeHook }:
stdenv.mkDerivation rec {
name = "shotcut-${version}";
@ -9,13 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1504ds3ppqmpg84nb2gb74qndqysjwn3xw7n8xv19kd1pppnr10f";
};
buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qtbase ];
configurePhase = ''
runHook preConfigure
qmake PREFIX=$out
runHook postConfigure
'';
buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qtbase qmakeHook ];
postInstall = ''
mkdir -p $out/share/shotcut