diff options
| author | bdunahu <bdunahu@operationnull.com> | 2026-03-28 15:10:47 -0400 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-04-07 11:22:24 +0200 |
| commit | 47fd7f8657286bfe814e85b7d5b197ca3b1b7256 (patch) | |
| tree | 20f4aba3497e6f070d2e02b734cc94209bcaca55 | |
| parent | 85253adcfecb474cf218d71892fc24f701ba3cc9 (diff) | |
gnu: zathura-cb: Update to 2026.02.03.
* gnu/packages/pdf.scm (zathura-cb): Update to 2026.02.03.
[source]: Switch to git-fetch.
[arguments]: Minor style adjustment.
<#:phases>: Remove unnecessary 'patch-plugin-directory phase.
<#:configure-flags>: Specify correct directory to install plugin.
Merges guix/guix!7553
Change-Id: I1d0b6d0b798f69ea5afc9cb46240fee9fd840952
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
| -rw-r--r-- | gnu/packages/pdf.scm | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 78d9b75ad21..06512a1faaf 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -599,31 +599,24 @@ reading and editing of existing PDF files.") (define-public zathura-cb (package (name "zathura-cb") - (version "0.1.10") + (version "2026.02.03") (source (origin - (method url-fetch) - (uri - (string-append "https://pwmt.org/projects/zathura-cb/download/zathura-cb-" - version ".tar.xz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pwmt/zathura-cb") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1j5v32f9ki35v1jc7a067anhlgqplzrp4fqvznlixfhcm0bwmc49")))) + "17w0iv7a503q95qdqx7qpjkxdqfyzw0qld4d8a98hkhg3ljrp5ck")))) (native-inputs (list pkg-config)) (inputs (list libarchive 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.1.10: 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-cb/") (synopsis "Comic book support for zathura (libarchive backend)") (description "The zathura-cb plugin adds comic book support to zathura |
