diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-10-18 22:30:33 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-10-19 21:21:01 +0200 |
commit | 43dc47fa249aebe3b5cbc0141c2be4ba226e92bf (patch) | |
tree | f70e62f0c1bd2d94bb083e6981e6147f75d36f69 /gnu | |
parent | 513885b54e5a6abd46cb02b04ebab51b879150c0 (diff) | |
download | guix-43dc47fa249aebe3b5cbc0141c2be4ba226e92bf.tar.gz guix-43dc47fa249aebe3b5cbc0141c2be4ba226e92bf.zip |
gnu: Add zathura-pdf-mupdf.
* gnu/packages/pdf.scm (zathura-pdf-mupdf): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/pdf.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 56f5486791..6dbba2c7ec 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -413,6 +413,41 @@ using libspectre.") using the DjVuLibre library.") (license license:zlib))) +(define-public zathura-pdf-mupdf + (package + (name "zathura-pdf-mupdf") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri + (string-append "https://pwmt.org/projects/zathura-pdf-mupdf" + "/download/zathura-pdf-mupdf-" version ".tar.gz")) + (sha256 + (base32 + "06zqn8z6a0hfsx3s1kzqvqzb73afgcl6z5r062sxv7kv570fvffr")))) + (native-inputs `(("pkg-config" ,pkg-config))) + (propagated-inputs `(("girara" ,girara))) + (inputs + `(("gtk+" ,gtk+) + ("jbig2dec" ,jbig2dec) + ("libjpeg" ,libjpeg) + ("mupdf" ,mupdf) + ("openjpeg" ,openjpeg) + ("openssl" ,openssl) + ("zathura" ,zathura))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "PREFIX=" %output) + (string-append "PLUGINDIR=" %output "/lib/zathura") + "CC=gcc") + #:tests? #f ;No tests. + #:phases (modify-phases %standard-phases (delete 'configure)))) + (home-page "https://pwmt.org/projects/zathura-pdf-mupdf/") + (synopsis "PDF support for zathura (mupdf backend)") + (description "The zathura-pdf-mupdf plugin adds PDF support to zathura +by using the @code{mupdf} rendering library.") + (license license:zlib))) + (define-public zathura-pdf-poppler (package (name "zathura-pdf-poppler") |