guix-devel
[Top][All Lists]
Advanced

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

[PATCH 4/7] gnu: Add zathura PDF plugin.


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

* gnu/packages/pdf.scm (zathura-pdf-poppler): New variable.
---
 gnu/packages/pdf.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 834ba6d..f77a2e5 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -150,6 +150,47 @@
 
 
 
+
+(define-public zathura-pdf-poppler
+  (package
+    (name "zathura-pdf-poppler")
+    (version "0.2.5")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append 
"https://pwmt.org/projects/zathura-pdf-poppler/download/zathura-pdf-poppler-";
+                              version ".tar.gz"))
+              (sha256
+               (base32
+                "1b0chsds8iwjm4g629p6a67nb6wgra65pw2vvngd7g35dmcjgcv0"))))
+    (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-pdf-poppler/";)
+    (synopsis "PDF support for zathura (poppler backend)")
+    (description "The zathura-pdf-poppler plugin adds PDF support to zathura
+by using the poppler rendering engine.")
+    (propagated-inputs
+     `(("girara" ,girara)))
+    (inputs
+     `(("poppler" ,poppler)
+       ("gtk+" ,gtk+)
+       ("zathura" ,(package (inherit zathura)
+                            (inputs (alist-delete "zathura-pdf-poppler"
+                                                  (package-inputs zathura)))))
+       ("cairo" ,cairo)))
+    (license license:zlib)))
+
 (define-public zathura
   (package
     (name "zathura")
-- 
2.3.1




reply via email to

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