mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
popplerQt: build with Qt 5.5
This commit is contained in:
parent
e2c25b2f60
commit
60000c87ae
@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, libiconv, libintlOrEmpty
|
||||
, zlib, curl, cairo, freetype, fontconfig, lcms, libjpeg, openjpeg
|
||||
, minimal ? false, qt4Support ? false, qt4 ? null, qt5Support ? false, qt5 ? null
|
||||
, minimal ? false, qt4Support ? false, qt4 ? null, qt5Support ? false, qtbase ? null
|
||||
, utils ? false, suffix ? "glib"
|
||||
}:
|
||||
|
||||
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
[ zlib freetype fontconfig libjpeg lcms curl openjpeg ]
|
||||
++ optional (!minimal) cairo
|
||||
++ optional qt4Support qt4
|
||||
++ optional qt5Support qt5.base;
|
||||
++ optional qt5Support qtbase;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty;
|
||||
|
||||
|
@ -7819,10 +7819,7 @@ let
|
||||
suffix = "qt4";
|
||||
};
|
||||
|
||||
poppler_qt5 = poppler.override {
|
||||
qt5Support = true;
|
||||
suffix = "qt5";
|
||||
};
|
||||
poppler_qt5 = qt5Libs.popplerQt;
|
||||
|
||||
poppler_utils = poppler.override { suffix = "utils"; utils = true; };
|
||||
|
||||
@ -7911,6 +7908,12 @@ let
|
||||
withQt5 = true;
|
||||
};
|
||||
|
||||
popplerQt = callPackage ../development/libraries/poppler {
|
||||
lcms = lcms2;
|
||||
qt5Support = true;
|
||||
suffix = "qt5";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
qt55Libs = lib.makeScope qt55.newScope qt5LibsFun;
|
||||
|
Loading…
Reference in New Issue
Block a user