gnu: poppler: Build against openjpeg@2.
* gnu/packages/pdf.scm (poppler)[inputs]: Change OPENJPEG-1 to OPENJPEG. [arguments]<#:phases>: Remove.
This commit is contained in:
parent
78cd051eef
commit
301804d674
|
@ -94,7 +94,7 @@
|
||||||
("libpng" ,libpng)
|
("libpng" ,libpng)
|
||||||
("libtiff" ,libtiff)
|
("libtiff" ,libtiff)
|
||||||
("lcms" ,lcms)
|
("lcms" ,lcms)
|
||||||
("openjpeg-1" ,openjpeg-1) ; prefers openjpeg-1
|
("openjpeg" ,openjpeg)
|
||||||
("zlib" ,zlib)
|
("zlib" ,zlib)
|
||||||
|
|
||||||
;; To build poppler-glib (as needed by Evince), we need Cairo and
|
;; To build poppler-glib (as needed by Evince), we need Cairo and
|
||||||
|
@ -114,16 +114,7 @@
|
||||||
"--enable-zlib"
|
"--enable-zlib"
|
||||||
|
|
||||||
;; Saves 8 MiB of .a files.
|
;; Saves 8 MiB of .a files.
|
||||||
"--disable-static")
|
"--disable-static")))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-before 'configure 'setenv
|
|
||||||
(lambda _
|
|
||||||
(setenv "CPATH"
|
|
||||||
(string-append (assoc-ref %build-inputs "openjpeg-1")
|
|
||||||
"/include/openjpeg-1.5"
|
|
||||||
":" (or (getenv "CPATH") "")))
|
|
||||||
#t)))))
|
|
||||||
(synopsis "PDF rendering library")
|
(synopsis "PDF rendering library")
|
||||||
(description
|
(description
|
||||||
"Poppler is a PDF rendering library based on the xpdf-3.0 code base.")
|
"Poppler is a PDF rendering library based on the xpdf-3.0 code base.")
|
||||||
|
|
Loading…
Reference in New Issue