gnu: r-qpdf: Update to 1.2.0.

* gnu/packages/cran.scm (r-qpdf): Update to 1.2.0.
[source]: Remove trailing #T from snippet.
[arguments]: Remove trailing #T from 'configure phase.
[inputs]: Add libjpeg-turbo.
This commit is contained in:
Ricardo Wurmus 2022-05-30 15:30:47 +02:00
parent bfcae1efbb
commit d3cb071050
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -30818,32 +30818,29 @@ (define-public r-readods
(define-public r-qpdf (define-public r-qpdf
(package (package
(name "r-qpdf") (name "r-qpdf")
(version "1.1") (version "1.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (cran-uri "qpdf" version)) (uri (cran-uri "qpdf" version))
(sha256 (sha256
(base32 (base32
"03lnfncw8qd1fwfyqh1mjvnsjr3b63wxbah0wp5g7z7gba90dwbi")) "1a1d7zad2l94z068mic6dg9wr9bq8mlmqszrj8vxps1441mb6gfh"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
;; unvendor libqpdf ;; unvendor libqpdf
(delete-file-recursively "src/libqpdf") (delete-file-recursively "src/libqpdf")
(delete-file-recursively "src/include/qpdf") (delete-file-recursively "src/include/qpdf")))))
#t))))
(properties `((upstream-name . "qpdf"))) (properties `((upstream-name . "qpdf")))
(build-system r-build-system) (build-system r-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'configure (add-after 'unpack 'configure
(lambda _ (lambda _ (setenv "EXTERNAL_QPDF" "1"))))))
(setenv "EXTERNAL_QPDF" "1")
#t)))))
(inputs (inputs
(list zlib qpdf)) (list libjpeg-turbo qpdf zlib))
(propagated-inputs (propagated-inputs
(list r-askpass r-curl r-rcpp)) (list r-askpass r-curl r-rcpp))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config))