libqtelegram-aseman-edition: move to qmakeHook
This reverts commit 080b54d766
.
This commit is contained in:
parent
5faed29fa8
commit
56b63b91b4
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, qtbase, qtmultimedia, qtquick1 }:
|
||||
, qtbase, qtmultimedia, qtquick1, qmakeHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libqtelegram-aseman-edition-${meta.version}";
|
||||
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase qtmultimedia qtquick1 ];
|
||||
nativeBuildInputs = [ qmakeHook ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
patchPhase = ''
|
||||
@ -19,12 +20,6 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
qmake -r PREFIX=$out
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
version = "6.1";
|
||||
description = "A fork of libqtelegram by Aseman, using qmake";
|
||||
|
Loading…
Reference in New Issue
Block a user