unetbootin: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:52:24 +03:00
parent a3a40c027c
commit cef0e565e3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, qt4, utillinux, coreutils, which { stdenv, fetchurl, makeWrapper, qt4, utillinux, coreutils, which, qmake4Hook
, p7zip, mtools, syslinux }: , p7zip, mtools, syslinux }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sourceRoot = "."; sourceRoot = ".";
buildInputs = [ makeWrapper qt4 ]; buildInputs = [ makeWrapper qt4 qmake4Hook ];
# Lots of nice hard-coded paths... # Lots of nice hard-coded paths...
postUnpack = '' postUnpack = ''
@ -30,11 +30,9 @@ stdenv.mkDerivation rec {
--replace /usr/bin $out/bin --replace /usr/bin $out/bin
''; '';
buildPhase = '' preConfigure = ''
lupdate unetbootin.pro lupdate unetbootin.pro
lrelease unetbootin.pro lrelease unetbootin.pro
qmake
make
''; '';
installPhase = '' installPhase = ''