summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-03-02 00:37:31 +0100
committerPaul van der Walt <paul@denknerd.org>2015-03-05 10:23:07 +0100
commitb3886e0c53d1f6110bedfe0f1dd536498f266a97 (patch)
tree9a0a445f147a9ce97f297240460a9343a32bc21f
parent721a4f7d570222cd8c0dc583fab7ebcbf4f9f18a (diff)
gnu: Add zathura comicbook plugin.
* gnu/packages/pdf.scm (zathura-cb): New variable.
-rw-r--r--gnu/packages/pdf.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index ffca09aad6..f6db546a88 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -148,6 +148,37 @@
(license license:gpl3) ; or gpl2, but not gpl2+
(home-page "http://www.foolabs.com/xpdf/")))
+(define-public zathura-cb
+ (package
+ (name "zathura-cb")
+ (version "0.1.4")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://pwmt.org/projects/zathura-cb/download/zathura-cb-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "09ln4fpjxmhcq6cw1ka7mdkmca36gyd4gzrynbw3waz0ri0b277j"))))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (propagated-inputs `(("girara" ,girara)))
+ (inputs `(("libarchive" ,libarchive)
+ ("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-cb/")
+ (synopsis "Comic book support for zathura (libarchive backend)")
+ (description "The zathura-cb plugin adds comic book support to zathura
+using libarchive.")
+ (license license:zlib)))
+
(define-public zathura-ps
(package
(name "zathura-ps")