mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
gnu: Add mupdf-1.24.
Needed for sioyek. * gnu/packages/pdf.scm (mupdf-1.24): New variable. Change-Id: I66a4ab1aa33da41c3c387bc7ce6850347ef7c79c
This commit is contained in:
parent
5e4cc506c7
commit
227082900a
1 changed files with 25 additions and 0 deletions
|
@ -905,6 +905,31 @@ (define-public mupdf
|
|||
license:silofl1.1 ;resources/fonts/{han,noto,sil,urw}
|
||||
license:asl2.0)))) ; resources/fonts/droid
|
||||
|
||||
(define-public mupdf-1.24 ; Needed for sioyek
|
||||
(package
|
||||
(inherit mupdf)
|
||||
(name "mupdf")
|
||||
(version "1.24.7")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://mupdf.com/downloads/archive/"
|
||||
"mupdf-" version "-source.tar.lz"))
|
||||
(sha256
|
||||
(base32 "0hydmp8sdnkrkpqyysa6klkxbwv9awf1xc753r27gcj7ds7375fj"))
|
||||
(modules '((guix build utils)
|
||||
(ice-9 ftw)
|
||||
(srfi srfi-1)))
|
||||
(snippet
|
||||
;; Remove bundled software. Keep patched variants.
|
||||
#~(with-directory-excursion "thirdparty"
|
||||
(let ((keep '("README" "extract" "freeglut" "lcms2")))
|
||||
(for-each delete-file-recursively
|
||||
(lset-difference string=?
|
||||
(scandir ".")
|
||||
(cons* "." ".." keep))))))))))
|
||||
|
||||
|
||||
(define-public qpdf
|
||||
(package
|
||||
(name "qpdf")
|
||||
|
|
Loading…
Reference in a new issue