mate.atril: Remove file-wide with lib;
This commit is contained in:
parent
937a9d1ee7
commit
38fab35c79
1 changed files with 9 additions and 11 deletions
|
@ -25,8 +25,6 @@
|
|||
, mateUpdateScript
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atril";
|
||||
version = "1.26.0";
|
||||
|
@ -54,18 +52,18 @@ stdenv.mkDerivation rec {
|
|||
hicolor-icon-theme
|
||||
texlive.bin.core # for synctex, used by the pdf back-end
|
||||
]
|
||||
++ optionals enableDjvu [ djvulibre ]
|
||||
++ optionals enableEpub [ webkitgtk ]
|
||||
++ optionals enablePostScript [ libspectre ]
|
||||
++ optionals enableXps [ libgxps ]
|
||||
++ lib.optionals enableDjvu [ djvulibre ]
|
||||
++ lib.optionals enableEpub [ webkitgtk ]
|
||||
++ lib.optionals enablePostScript [ libspectre ]
|
||||
++ lib.optionals enableXps [ libgxps ]
|
||||
;
|
||||
|
||||
configureFlags = [ ]
|
||||
++ optionals (enableDjvu) [ "--enable-djvu" ]
|
||||
++ optionals (enableEpub) [ "--enable-epub" ]
|
||||
++ optionals (enablePostScript) [ "--enable-ps" ]
|
||||
++ optionals (enableXps) [ "--enable-xps" ]
|
||||
++ optionals (enableImages) [ "--enable-pixbuf" ];
|
||||
++ lib.optionals (enableDjvu) [ "--enable-djvu" ]
|
||||
++ lib.optionals (enableEpub) [ "--enable-epub" ]
|
||||
++ lib.optionals (enablePostScript) [ "--enable-ps" ]
|
||||
++ lib.optionals (enableXps) [ "--enable-xps" ]
|
||||
++ lib.optionals (enableImages) [ "--enable-pixbuf" ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
|
|
Loading…
Reference in a new issue