recoll: qt4 -> qt5, fix build
This commit is contained in:
parent
f6a3e70c50
commit
9cdfa8adc2
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, lib, bison
|
{ mkDerivation, stdenv, fetchurl, lib, bison
|
||||||
, qt4, xapian, file, python, perl
|
, qtbase, xapian, file, python, perl
|
||||||
, djvulibre, groff, libxslt, unzip, poppler_utils, antiword, catdoc, lyx
|
, djvulibre, groff, libxslt, unzip, poppler_utils, antiword, catdoc, lyx
|
||||||
, libwpd, unrtf, untex
|
, libwpd, unrtf, untex
|
||||||
, ghostscript, gawk, gnugrep, gnused, gnutar, gzip, libiconv, zlib
|
, ghostscript, gawk, gnugrep, gnused, gnutar, gzip, libiconv, zlib
|
||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
assert stdenv.hostPlatform.system != "powerpc-linux";
|
assert stdenv.hostPlatform.system != "powerpc-linux";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
ver = "1.24.5";
|
ver = "1.24.5";
|
||||||
name = "recoll-${ver}";
|
name = "recoll-${ver}";
|
||||||
|
|
||||||
@ -16,12 +16,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "10m3a0ghnyipjcxapszlr8adyy2yaaxx4vgrkxrfmz13814z89cv";
|
sha256 = "10m3a0ghnyipjcxapszlr8adyy2yaaxx4vgrkxrfmz13814z89cv";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--enable-recollq" ]
|
configureFlags = [ "--enable-recollq" "--disable-webkit" ]
|
||||||
++ lib.optionals (!withGui) [ "--disable-qtgui" "--disable-x11mon" ]
|
++ lib.optionals (!withGui) [ "--disable-qtgui" "--disable-x11mon" ]
|
||||||
++ (if stdenv.isLinux then [ "--with-inotify" ] else [ "--without-inotify" ]);
|
++ (if stdenv.isLinux then [ "--with-inotify" ] else [ "--without-inotify" ]);
|
||||||
|
|
||||||
buildInputs = [ xapian file python bison zlib ]
|
buildInputs = [ xapian file python bison zlib ]
|
||||||
++ lib.optional withGui qt4
|
++ lib.optional withGui qtbase
|
||||||
++ lib.optional stdenv.isDarwin libiconv;
|
++ lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
@ -6588,7 +6588,7 @@ in
|
|||||||
|
|
||||||
recutils = callPackage ../tools/misc/recutils { };
|
recutils = callPackage ../tools/misc/recutils { };
|
||||||
|
|
||||||
recoll = callPackage ../applications/search/recoll { };
|
recoll = libsForQt5.callPackage ../applications/search/recoll { };
|
||||||
|
|
||||||
redoc-cli = nodePackages.redoc-cli;
|
redoc-cli = nodePackages.redoc-cli;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user