diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-12-19 11:24:59 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-12-19 22:25:34 +0100 |
commit | f805209a78a1a38cc13c9deac72a6433b6f5ba7b (patch) | |
tree | 60442964f5e50226d99d90c0e5feb9caaa58c96b /pkgs/development/libraries/poppler | |
parent | 0409ce23303a0b194a10c1cb81971a03066d7770 (diff) | |
download | nixlib-f805209a78a1a38cc13c9deac72a6433b6f5ba7b.tar nixlib-f805209a78a1a38cc13c9deac72a6433b6f5ba7b.tar.gz nixlib-f805209a78a1a38cc13c9deac72a6433b6f5ba7b.tar.bz2 nixlib-f805209a78a1a38cc13c9deac72a6433b6f5ba7b.tar.lz nixlib-f805209a78a1a38cc13c9deac72a6433b6f5ba7b.tar.xz nixlib-f805209a78a1a38cc13c9deac72a6433b6f5ba7b.tar.zst nixlib-f805209a78a1a38cc13c9deac72a6433b6f5ba7b.zip |
poppler: Add support for gobject-introspection
This optionally adds support for GI, because it's needed for paperwork-backend. The new poppler_gi attribute is also marked as lowPrio so that users won't accidentally install it. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @ttuegel
Diffstat (limited to 'pkgs/development/libraries/poppler')
-rw-r--r-- | pkgs/development/libraries/poppler/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/poppler/default.nix b/pkgs/development/libraries/poppler/default.nix index d3a51acd33aa..89368282f2c9 100644 --- a/pkgs/development/libraries/poppler/default.nix +++ b/pkgs/development/libraries/poppler/default.nix @@ -3,6 +3,7 @@ , withData ? false, poppler_data , qt4Support ? false, qt4 ? null , qt5Support ? false, qtbase ? null +, introspectionSupport ? false, gobjectIntrospection ? null , utils ? false , minimal ? false, suffix ? "glib" }: @@ -28,7 +29,8 @@ stdenv.mkDerivation rec { [ zlib freetype fontconfig libjpeg openjpeg ] ++ optionals (!minimal) [ cairo lcms curl ] ++ optional qt4Support qt4 - ++ optional qt5Support qtbase; + ++ optional qt5Support qtbase + ++ optional introspectionSupport gobjectIntrospection; nativeBuildInputs = [ pkgconfig ]; @@ -47,7 +49,8 @@ stdenv.mkDerivation rec { "--disable-poppler-glib" "--disable-poppler-cpp" "--disable-libcurl" ] - ++ optional (!utils) "--disable-utils" ; + ++ optional (!utils) "--disable-utils" + ++ optional introspectionSupport "--enable-introspection"; enableParallelBuilding = true; |