mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: zathura-ps: Update to 0.2.8.
* gnu/packages/pdf.scm (zathura-ps): Update to 0.2.8. [source]: Switch to git-fetch; update url. [arguments]: Use gexps. <#:phases>: Remove patch-plugin-directory. <#:configure-flags>: Set plugindir. Change-Id: I6321d9bc8fddd9ccc8c50aa21add1536e18b7681 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
8c010e69c0
commit
68a1516212
1 changed files with 11 additions and 18 deletions
|
@ -636,31 +636,24 @@ using libarchive.")
|
||||||
(define-public zathura-ps
|
(define-public zathura-ps
|
||||||
(package
|
(package
|
||||||
(name "zathura-ps")
|
(name "zathura-ps")
|
||||||
(version "0.2.7")
|
(version "0.2.8")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(string-append "https://pwmt.org/projects/zathura-ps/download/zathura-ps-"
|
(url "https://github.com/pwmt/zathura-ps")
|
||||||
version ".tar.xz"))
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ilf63wxn1yzis9m3qs8mxbk316yxdzwxrrv86wpiygm9hhgk5sq"))))
|
"04nv4cpxhx2f1m6iagrhj3dx3mranljl604sj2yn11anhnm0igc5"))))
|
||||||
(native-inputs (list pkg-config))
|
(native-inputs (list pkg-config))
|
||||||
(inputs (list libspectre zathura))
|
(inputs (list libspectre zathura))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; package does not contain tests
|
(list
|
||||||
#:phases
|
#:tests? #f ;package does not contain tests
|
||||||
(modify-phases %standard-phases
|
#:configure-flags
|
||||||
(add-after 'unpack 'patch-plugin-directory
|
#~(list (string-append "-Dplugindir=" #$output "/lib/zathura"))))
|
||||||
;; Something of a regression in 0.2.7: 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-ps/")
|
(home-page "https://pwmt.org/projects/zathura-ps/")
|
||||||
(synopsis "PS support for zathura (libspectre backend)")
|
(synopsis "PS support for zathura (libspectre backend)")
|
||||||
(description "The zathura-ps plugin adds PS support to zathura
|
(description "The zathura-ps plugin adds PS support to zathura
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue