3
0
Fork 0
forked from mirrors/nixpkgs

goldendict: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:32:05 +03:00
parent b6016fb6df
commit b6717f466b

View file

@ -1,4 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, qt4, libXtst, libvorbis, hunspell, libao, ffmpeg, libeb, lzo, xz, libtiff }:
{ stdenv, fetchFromGitHub, pkgconfig, qt4, qmake4Hook, libXtst, libvorbis, hunspell
, libao, ffmpeg, libeb, lzo, xz, libtiff }:
stdenv.mkDerivation rec {
name = "goldendict-1.5.0.ec86515";
src = fetchFromGitHub {
@ -8,10 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "070majwxbn15cy7sbgz7ljl8rkn7vcgkm10884v97csln7bfzwhr";
};
buildInputs = [ pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff ];
configurePhase = ''
qmake PREFIX=$out 'CONFIG+=zim_support'
'';
buildInputs = [
pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb
lzo xz libtiff qmake4Hook
];
qmakeFlags = [ "CONFIG+=zim_support" ];
meta = {
homepage = http://goldendict.org/;