summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-07-19 18:47:32 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-21 12:07:53 +0200
commit0e0fb1ecf9ee42d970f088e8db0e7fa51ad95c60 (patch)
treeb5820f915b9e97b92d4ac71efba5793b49f7ad71
parentcb508a80673ac74039672d7dfaca3f7c0631481f (diff)
gnu: zathura-djvu: Update to 0.2.10.
* gnu/packages/pdf.scm (zathura-djvu): Update to 0.2.10. [source]: Switch to git-fetch; update url. [arguments]: Use gexps. <#:phases>: Remove patch-plugin-directory. <#:configure-flags>: Set plugindir. Change-Id: Ia3652883cd527d8dd021d2be46dfe470e56e0c41 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/pdf.scm28
1 files changed, 10 insertions, 18 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 8fc23ecd19..8bb13c0377 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -670,32 +670,24 @@ using libspectre.")
(define-public zathura-djvu
(package
(name "zathura-djvu")
- (version "0.2.9")
+ (version "0.2.10")
(source (origin
- (method url-fetch)
- (uri
- (string-append "https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-"
- version ".tar.xz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pwmt/zathura-djvu")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0062n236414db7q7pnn3ccg5111ghxj3407pn9ri08skxskgirln"))))
+ "1c069n676c9byy1sp2c6idm3mlfijcdpv6z09ifx8hjkryaajplx"))))
(native-inputs (list pkg-config))
(inputs
(list djvulibre zathura))
(build-system meson-build-system)
(arguments
- `(#:tests? #f ; package does not contain tests
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-plugin-directory
- ;; Something of a regression in 0.2.8: 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)))))
+ (list #:tests? #f ;package does not contain tests
+ #:configure-flags
+ #~(list (string-append "-Dplugindir=" #$output "/lib/zathura"))))
(home-page "https://pwmt.org/projects/zathura-djvu/")
(synopsis "DjVu support for zathura (DjVuLibre backend)")
(description "The zathura-djvu plugin adds DjVu support to zathura