mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: mupdf: Update to 1.14.
* gnu/packages/pdf.scm (mupdf): Update to 1.14. [source]: Don't remove all the bundled libraries. [arguments]: Add 'configure-flags to use system libraries.
This commit is contained in:
parent
f8ddf719f3
commit
b1435fe735
1 changed files with 13 additions and 3 deletions
|
@ -596,7 +596,7 @@ (define-public podofo
|
|||
(define-public mupdf
|
||||
(package
|
||||
(name "mupdf")
|
||||
(version "1.13.0")
|
||||
(version "1.14.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -604,9 +604,17 @@ (define-public mupdf
|
|||
name "-" version "-source.tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0129k92bav692l6lyw10ryldx7h2f9khjpgnp3f3n4fdsph9hrkl"))
|
||||
"1psnz02w5p7wc1s1ma7vvjmkjfy641xvsh9ykaqzkk84dflnjgk0"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(begin (delete-file-recursively "thirdparty") #t))))
|
||||
(snippet
|
||||
;; We keep lcms2 since it is different than our lcms.
|
||||
'(begin
|
||||
(for-each
|
||||
(lambda (dir)
|
||||
(delete-file-recursively (string-append "thirdparty/" dir)))
|
||||
'("curl" "freeglut" "freetype" "harfbuzz" "jbig2dec"
|
||||
"libjpeg" "mujs" "openjpeg" "zlib"))
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("curl" ,curl)
|
||||
|
@ -627,6 +635,8 @@ (define-public mupdf
|
|||
'(#:tests? #f ; no check target
|
||||
#:make-flags (list "CC=gcc"
|
||||
"XCFLAGS=-fpic"
|
||||
"USE_SYSTEM_LIBS=yes"
|
||||
"USE_SYSTEM_MUJS=yes"
|
||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(delete 'configure))))
|
||||
|
|
Loading…
Reference in a new issue