gnu: zathura-pdf-mupdf: Simplify arguments.
* gnu/packages/pdf.scm (zathura-pdf-mupdf)[arguments]: Remove custom 'patch-plugin-directory phase, replacd with configure-flag.
This commit is contained in:
parent
24fc8f055d
commit
a6f2afeee1
|
@ -435,17 +435,9 @@ using the DjVuLibre library.")
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; package does not contain tests
|
`(#:tests? #f ; package does not contain tests
|
||||||
#:phases
|
#:configure-flags (list (string-append "-Dplugindir="
|
||||||
(modify-phases %standard-phases
|
(assoc-ref %outputs "out")
|
||||||
(add-after 'unpack 'patch-plugin-directory
|
"/lib/zathura"))))
|
||||||
;; Something of a regression in 0.3.3: 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-mupdf/")
|
(home-page "https://pwmt.org/projects/zathura-pdf-mupdf/")
|
||||||
(synopsis "PDF support for zathura (mupdf backend)")
|
(synopsis "PDF support for zathura (mupdf backend)")
|
||||||
(description "The zathura-pdf-mupdf plugin adds PDF support to zathura
|
(description "The zathura-pdf-mupdf plugin adds PDF support to zathura
|
||||||
|
|
Loading…
Reference in New Issue