Skip to content

Commit

Permalink
poppler: add dependency for glib-mkenums to fix cross building
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Nov 24, 2024
1 parent 8eee989 commit c972c74
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/development/libraries/poppler/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
curl,
fontconfig,
freetype,
glib,
lcms,
libiconv,
libintl,
Expand Down Expand Up @@ -94,6 +95,8 @@ stdenv.mkDerivation (finalAttrs: rec {
ninja
pkg-config
python3
] ++ lib.optionals (!minimal) [
glib # for glib-mkenums
];

buildInputs =
Expand Down Expand Up @@ -190,16 +193,16 @@ stdenv.mkDerivation (finalAttrs: rec {
};
};

meta = with lib; {
meta = {
homepage = "https://poppler.freedesktop.org/";
changelog = "https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-${version}/NEWS";
description = "PDF rendering library";
longDescription = ''
Poppler is a PDF rendering library based on the xpdf-3.0 code base. In
addition it provides a number of tools that can be installed separately.
'';
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ ttuegel ] ++ teams.freedesktop.members;
license = with lib.licenses; [ gpl2Plus ];
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ ttuegel ] ++ lib.teams.freedesktop.members;
};
})

0 comments on commit c972c74

Please sign in to comment.