guix-devel
[Top][All Lists]
Advanced

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

[PATCH 6/7] gnu: Add zathura postscript plugin.


From: Paul van der Walt
Subject: [PATCH 6/7] gnu: Add zathura postscript plugin.
Date: Mon, 2 Mar 2015 00:47:52 +0100

* gnu/packages/pdf.scm (zathura-ps): 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 9e4dff8..d931721 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -150,6 +150,45 @@
 
 
 
+(define-public zathura-ps
+  (package
+    (name "zathura-ps")
+    (version "0.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append 
"https://pwmt.org/projects/zathura-ps/download/zathura-ps-";
+                              version ".tar.gz"))
+              (sha256
+               (base32
+                "1a6ps5v1wk18qvslbkjln6w8wfzzr6fi13ls96vbdc03vdhn4m76"))))
+    (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-ps/";)
+    (synopsis "PS support for zathura (libspectre backend)")
+    (description "The zathura-ps plugin adds PS support to zathura
+using libspectre.")
+    (propagated-inputs
+     `(("girara" ,girara)))
+    (inputs
+     `(("libspectre" ,libspectre)
+       ("gtk+" ,gtk+)
+       ("zathura" ,(package (inherit zathura)
+                            (inputs (alist-delete "zathura-ps"
+                                                  (package-inputs 
zathura)))))))
+    (license license:zlib)))
+
 (define-public zathura-djvu
   (package
     (name "zathura-djvu")
-- 
2.3.1




reply via email to

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