guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 8/8] gnu: Add zathura comicbook plugin.


From: Paul van der Walt
Subject: [PATCH 8/8] gnu: Add zathura comicbook plugin.
Date: Mon, 2 Mar 2015 10:54:06 +0100

* gnu/packages/pdf.scm (zathura-cb): New variable.
---
 gnu/packages/pdf.scm | 37 +++++++++++++++++++++++++++++++++++--
 1 file changed, 35 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 7a5c649..baefaa4 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -147,8 +147,41 @@
    (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)))
+    (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.")
+    (propagated-inputs
+     `(("girara" ,girara)))
+    (inputs
+     `(("libarchive" ,libarchive)
+       ("gtk+" ,gtk+)
+       ("zathura" ,zathura)))
+    (license license:zlib)))
+
 
 (define-public zathura-ps
   (package
-- 
2.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]