Skip to content

Commit

Permalink
Merge pull request #97573 from woffs/recoll-qt5-20.09
Browse files Browse the repository at this point in the history
[20.09] recoll: qt4 -> qt5, fix build
  • Loading branch information
worldofpeace committed Sep 9, 2020
2 parents a824b76 + ab77e4d commit fc35e4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions pkgs/applications/search/recoll/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, lib, bison
, qt4, xapian, file, python, perl
{ mkDerivation, stdenv, fetchurl, lib, bison
, qtbase, xapian, file, python, perl
, djvulibre, groff, libxslt, unzip, poppler_utils, antiword, catdoc, lyx
, libwpd, unrtf, untex
, ghostscript, gawk, gnugrep, gnused, gnutar, gzip, libiconv, zlib
, withGui ? true }:

assert stdenv.hostPlatform.system != "powerpc-linux";

stdenv.mkDerivation rec {
mkDerivation rec {
ver = "1.24.5";
name = "recoll-${ver}";

Expand All @@ -16,12 +16,12 @@ stdenv.mkDerivation rec {
sha256 = "10m3a0ghnyipjcxapszlr8adyy2yaaxx4vgrkxrfmz13814z89cv";
};

configureFlags = [ "--enable-recollq" ]
configureFlags = [ "--enable-recollq" "--disable-webkit" ]
++ lib.optionals (!withGui) [ "--disable-qtgui" "--disable-x11mon" ]
++ (if stdenv.isLinux then [ "--with-inotify" ] else [ "--without-inotify" ]);

buildInputs = [ xapian file python bison zlib ]
++ lib.optional withGui qt4
++ lib.optional withGui qtbase
++ lib.optional stdenv.isDarwin libiconv;

patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
Expand All @@ -31,7 +31,7 @@ stdenv.mkDerivation rec {

# the filters search through ${PATH} using a sh proc 'checkcmds' for the
# filtering utils. Short circuit this by replacing the filtering command with
# the absolute path to the filtering command.
# the absolute path to the filtering command.
postInstall = ''
for f in $out/share/recoll/filters/* ; do
if [[ ! "$f" =~ \.zip$ ]]; then
Expand Down Expand Up @@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
description = "A full-text search tool";
longDescription = ''
Recoll is an Xapian frontend that can search through files, archive
members, email attachments.
members, email attachments.
'';
homepage = "https://www.lesbonscomptes.com/recoll/";
license = licenses.gpl2;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -6582,7 +6582,7 @@ in

recutils = callPackage ../tools/misc/recutils { };

recoll = callPackage ../applications/search/recoll { };
recoll = libsForQt5.callPackage ../applications/search/recoll { };

redoc-cli = nodePackages.redoc-cli;

Expand Down

0 comments on commit fc35e4d

Please sign in to comment.