me
/
guix
Archived
1
0
Fork 0

gnu: zathura-pdf-poppler: Update to 0.3.2.

* gnu/packages/pdf.scm (zathura-pdf-poppler): Update to 0.3.2.
[arguments]: Use G-Expressions.  Pass "-Dplugindir=..." to configure-flags.

Change-Id: Ib76c87267c342007ad8b26e5a9efbcd17a2f488b
master
宋文武 2024-07-23 22:15:08 +08:00
parent d41c79c7af
commit 999573a69e
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 5 additions and 14 deletions

View File

@ -675,7 +675,7 @@ by using the @code{mupdf} rendering library.")
(define-public zathura-pdf-poppler (define-public zathura-pdf-poppler
(package (package
(name "zathura-pdf-poppler") (name "zathura-pdf-poppler")
(version "0.3.1") (version "0.3.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -683,24 +683,15 @@ by using the @code{mupdf} rendering library.")
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"12qhkshpp1wjfpjmjccsyi6wscqyqvaa19j85prjpyf65i9jg0gf")))) "049h8m9swxni7ar6fsbm0hb3fg4ffmjc3m6vyg78ilfi3kayxavi"))))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config))
(inputs (inputs
(list poppler zathura)) (list poppler zathura))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:tests? #f ; package does not include tests (list #:tests? #f ; package does not include tests
#:phases #:configure-flags
(modify-phases %standard-phases #~(list (string-append "-Dplugindir=" #$output "/lib/zathura"))))
(add-after 'unpack 'patch-plugin-directory
;; Something of a regression in 0.2.9: the new Meson build system
;; now hard-codes an incorrect plugin directory. Fix it.
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "meson.build"
(("(install_dir:).*" _ key)
(string-append key
"'" (assoc-ref outputs "out") "/lib/zathura'\n")))
#t)))))
(home-page "https://pwmt.org/projects/zathura-pdf-poppler/") (home-page "https://pwmt.org/projects/zathura-pdf-poppler/")
(synopsis "PDF support for zathura (poppler backend)") (synopsis "PDF support for zathura (poppler backend)")
(description "The zathura-pdf-poppler plugin adds PDF support to zathura (description "The zathura-pdf-poppler plugin adds PDF support to zathura