qt6Packages.poppler: init at 22.08.0

This commit is contained in:
Robert Schütz 2022-08-26 18:53:02 +00:00 committed by Robert Schütz
parent d003639e6f
commit 4b24143bf5
2 changed files with 9 additions and 2 deletions

View file

@ -23,7 +23,7 @@
, texlive
, zlib
, withData ? true, poppler_data
, qt5Support ? false, qtbase ? null
, qt5Support ? false, qt6Support ? false, qtbase ? null
, introspectionSupport ? false, gobject-introspection ? null
, utils ? false, nss ? null
, minimal ? false
@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
lcms
curl
nss
] ++ lib.optionals qt5Support [
] ++ lib.optionals (qt5Support || qt6Support) [
qtbase
] ++ lib.optionals introspectionSupport [
gobject-introspection
@ -85,6 +85,7 @@ stdenv.mkDerivation rec {
(mkFlag (!minimal) "LIBCURL")
(mkFlag utils "UTILS")
(mkFlag qt5Support "QT5")
(mkFlag qt6Support "QT6")
];
dontWrapQtApps = true;

View file

@ -20,4 +20,10 @@ in
# LIBRARIES
quazip = callPackage ../development/libraries/quazip { };
poppler = callPackage ../development/libraries/poppler {
lcms = pkgs.lcms2;
qt6Support = true;
suffix = "qt6";
};
})))