aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-03-02 00:32:43 +0100
committerPaul van der Walt <paul@denknerd.org>2015-03-05 10:23:07 +0100
commit7708557fd96ff156ab76daa331794e596fd1caa5 (patch)
tree1fcbb6df21a66f195b0d460b5c5145c07ab2caf2 /gnu
parent3e40bb829851cc33f55bcc725d9db9b7383274a7 (diff)
downloadpatches-7708557fd96ff156ab76daa331794e596fd1caa5.tar
patches-7708557fd96ff156ab76daa331794e596fd1caa5.tar.gz
gnu: Add zathura PDF plugin.
* gnu/packages/pdf.scm (zathura-pdf-poppler): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pdf.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index d02a954006..e70c0d4b12 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -147,6 +147,39 @@
(license license:gpl3) ; or gpl2, but not gpl2+
(home-page "http://www.foolabs.com/xpdf/")))
+(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)))
+ (propagated-inputs `(("girara" ,girara)))
+ (inputs
+ `(("poppler" ,poppler)
+ ("gtk+" ,gtk+)
+ ("zathura" ,zathura)
+ ("cairo" ,cairo)))
+ (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 include tests.
+ #:phases
+ (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.")
+ (license license:zlib)))
+
(define-public zathura
(package
(name "zathura")