about summary refs log tree commit diff
diff options
context:
space:
mode:
authorValentin Bruch <software@vbruch.eu>2022-09-06 01:28:49 +0200
committerValentin Bruch <software@vbruch.eu>2022-09-06 01:28:49 +0200
commit9a067292d3b97257c72abdd9c4d89591ec0686d2 (patch)
tree21d12c747aa75c2c234e778227bbdaeecc330984
parent1717df9134474b3773c9653914e318b99a407d13 (diff)
downloadnixlib-9a067292d3b97257c72abdd9c4d89591ec0686d2.tar
nixlib-9a067292d3b97257c72abdd9c4d89591ec0686d2.tar.gz
nixlib-9a067292d3b97257c72abdd9c4d89591ec0686d2.tar.bz2
nixlib-9a067292d3b97257c72abdd9c4d89591ec0686d2.tar.lz
nixlib-9a067292d3b97257c72abdd9c4d89591ec0686d2.tar.xz
nixlib-9a067292d3b97257c72abdd9c4d89591ec0686d2.tar.zst
nixlib-9a067292d3b97257c72abdd9c4d89591ec0686d2.zip
beamerpresenter: set compile time options explicitly
Compile time options are set explicitly for clarity.
Option USE_EXTERNAL_RENDERER can now be set using useExternalRenderer
variable. Option USE_QTPDF is disabled because it is only intended as a
backup if MuPDF and Poppler are both not available.
-rw-r--r--pkgs/applications/office/beamerpresenter/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/office/beamerpresenter/default.nix b/pkgs/applications/office/beamerpresenter/default.nix
index ec09f952de49..2e4959ce0a52 100644
--- a/pkgs/applications/office/beamerpresenter/default.nix
+++ b/pkgs/applications/office/beamerpresenter/default.nix
@@ -22,6 +22,7 @@
 # choose renderer: mupdf or poppler or both (not recommended)
 , usePoppler ? false
 , useMupdf ? true
+, useExternalRenderer ? false
 }:
 
 stdenv.mkDerivation rec {
@@ -67,6 +68,9 @@ stdenv.mkDerivation rec {
     "-DGIT_VERSION=OFF"
     "-DUSE_POPPLER=${if usePoppler then "ON" else "OFF"}"
     "-DUSE_MUPDF=${if useMupdf then "ON" else "OFF"}"
+    "-DUSE_QTPDF=OFF"
+    "-DUSE_MUPDF_THIRD=ON"
+    "-DUSE_EXTERNAL_RENDERER=${if useExternalRenderer then "ON" else "OFF"}"
     "-DUSE_MUJS=OFF"
     "-DUSE_GUMBO=ON"
     "-DUSE_TRANSLATIONS=ON"