diff options
author | Paul van der Walt <paul@denknerd.org> | 2015-03-02 00:33:31 +0100 |
---|---|---|
committer | Paul van der Walt <paul@denknerd.org> | 2015-03-05 10:23:07 +0100 |
commit | bac31d1f2d15a6e17858924f7c39455690894f9c (patch) | |
tree | 8cbf44a9e7131b751f81a8dc25bd9ea507d79f1e /gnu/packages/pdf.scm | |
parent | 7708557fd96ff156ab76daa331794e596fd1caa5 (diff) | |
download | patches-bac31d1f2d15a6e17858924f7c39455690894f9c.tar patches-bac31d1f2d15a6e17858924f7c39455690894f9c.tar.gz |
gnu: Add zathura DjVu plugin.
* gnu/packages/pdf.scm (zathura-djvu): New variable.
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r-- | gnu/packages/pdf.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index e70c0d4b12..eb0917c1b8 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -30,6 +30,7 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages ghostscript) #:use-module (gnu packages databases) + #:use-module (gnu packages djvu) #:use-module (gnu packages gettext) #:use-module (gnu packages backup) #:use-module (gnu packages lesstif) @@ -147,6 +148,38 @@ (license license:gpl3) ; or gpl2, but not gpl2+ (home-page "http://www.foolabs.com/xpdf/"))) +(define-public zathura-djvu + (package + (name "zathura-djvu") + (version "0.2.4") + (source (origin + (method url-fetch) + (uri + (string-append "https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-" + version ".tar.gz")) + (sha256 + (base32 + "1g1lafmrjbx0xv7fljdmyqxx0k334sq4q6jy4a0q5xfrgz0bh45c")))) + (native-inputs `(("pkg-config" ,pkg-config))) + (propagated-inputs `(("girara" ,girara))) + (inputs + `(("djvulibre" ,djvulibre) + ("gtk+" ,gtk+) + ("zathura" ,zathura))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + `(,(string-append "DESTDIR=" (assoc-ref %outputs "out")) + "PLUGINDIR=/lib/zathura" "CC=gcc") + #:tests? #f ; Package does not contain tests. + #:phases + (alist-delete 'configure %standard-phases))) + (home-page "https://pwmt.org/projects/zathura-djvu/") + (synopsis "DjVu support for zathura (DjVuLibre backend)") + (description "The zathura-djvu plugin adds DjVu support to zathura +using the DjVuLibre library.") + (license license:zlib))) + (define-public zathura-pdf-poppler (package (name "zathura-pdf-poppler") |