[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/7] gnu: Add zathura DjVu plugin.
From: |
Paul van der Walt |
Subject: |
[PATCH 5/7] gnu: Add zathura DjVu plugin. |
Date: |
Mon, 2 Mar 2015 00:47:51 +0100 |
* gnu/packages/pdf.scm (zathura-djvu): New variable.
---
gnu/packages/pdf.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index f77a2e5..9e4dff8 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -150,6 +150,45 @@
+(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)))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ `(,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
+ "PLUGINDIR=/lib/zathura" "CC=gcc")
+ #:phases
+ (alist-delete
+ 'check
+ (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.")
+ (propagated-inputs
+ `(("girara" ,girara)))
+ (inputs
+ `(("djvulibre" ,djvulibre)
+ ("gtk+" ,gtk+)
+ ("zathura" ,(package (inherit zathura)
+ (inputs (alist-delete "zathura-djvu"
+ (package-inputs
zathura)))))))
+ (license license:zlib)))
+
(define-public zathura-pdf-poppler
(package
--
2.3.1
- [PATCH 1/7] gnu: Add girara., Paul van der Walt, 2015/03/01
- [PATCH 4/7] gnu: Add zathura PDF plugin., Paul van der Walt, 2015/03/01
- [PATCH 6/7] gnu: Add zathura postscript plugin., Paul van der Walt, 2015/03/01
- [PATCH 7/7] gnu: Add zathura comicbook plugin., Paul van der Walt, 2015/03/01
- [PATCH 2/7] gnu: Add djvulibre., Paul van der Walt, 2015/03/01
- [PATCH 3/7] gnu: Add zathura., Paul van der Walt, 2015/03/01
- [PATCH 5/7] gnu: Add zathura DjVu plugin.,
Paul van der Walt <=
- Re: [PATCH 1/7] gnu: Add girara., 宋文武, 2015/03/02