poppler: add meta.pkgConfigModules annotation (#461626)

This commit is contained in:
Aleksana
2025-11-16 03:17:20 +00:00
committed by GitHub

View File

@@ -42,6 +42,7 @@
pdfslicer, pdfslicer,
scribus, scribus,
vips, vips,
testers,
}: }:
let let
@@ -172,6 +173,10 @@ stdenv.mkDerivation (finalAttrs: {
; ;
gdal = gdal.override { usePoppler = true; }; gdal = gdal.override { usePoppler = true; };
python-poppler-qt5 = python3.pkgs.poppler-qt5; python-poppler-qt5 = python3.pkgs.poppler-qt5;
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
};
}; };
}; };
@@ -187,5 +192,10 @@ stdenv.mkDerivation (finalAttrs: {
platforms = lib.platforms.all; platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ ttuegel ]; maintainers = with lib.maintainers; [ ttuegel ];
teams = [ lib.teams.freedesktop ]; teams = [ lib.teams.freedesktop ];
pkgConfigModules = [
"poppler"
]
++ lib.optionals (!minimal) [ "poppler-cpp" ]
++ lib.optionals introspectionSupport [ "poppler-glib" ];
}; };
}) })