gnu: leptonica: Update to 1.83.1.
* gnu/packages/image.scm (leptonica): Update to 1.83.1. [arguments]<#:phases>: Update file name in "provide-absolute-giflib-reference" phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
fb9124cb04
commit
a7458a6278
|
@ -601,7 +601,7 @@ collection of tools for doing simple manipulations of TIFF images.")
|
||||||
(define-public leptonica
|
(define-public leptonica
|
||||||
(package
|
(package
|
||||||
(name "leptonica")
|
(name "leptonica")
|
||||||
(version "1.80.0")
|
(version "1.83.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -610,7 +610,7 @@ collection of tools for doing simple manipulations of TIFF images.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "12ddln72z5l3icz0i9rpsfkg5xik8fcwcn8lb0cp3jigjxi8gvkg"))))
|
(base32 "1j7qf9flb48q0aymf0yx9rypy3bs6hfjcln08zmy8qn2qcjzrmvi"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gnuplot ;needed for test suite
|
(list gnuplot ;needed for test suite
|
||||||
|
@ -642,7 +642,7 @@ collection of tools for doing simple manipulations of TIFF images.")
|
||||||
(let ((giflib #$(this-package-input "giflib")))
|
(let ((giflib #$(this-package-input "giflib")))
|
||||||
;; Add an absolute reference to giflib to avoid propagation.
|
;; Add an absolute reference to giflib to avoid propagation.
|
||||||
(with-directory-excursion (string-append #$output "/lib")
|
(with-directory-excursion (string-append #$output "/lib")
|
||||||
(substitute* '("liblept.la" "pkgconfig/lept.pc")
|
(substitute* '("libleptonica.la" "pkgconfig/lept.pc")
|
||||||
(("-lgif") (string-append "-L" giflib "/lib -lgif"))))))))))
|
(("-lgif") (string-append "-L" giflib "/lib -lgif"))))))))))
|
||||||
(home-page "http://www.leptonica.com/")
|
(home-page "http://www.leptonica.com/")
|
||||||
(synopsis "Library and tools for image processing and analysis")
|
(synopsis "Library and tools for image processing and analysis")
|
||||||
|
|
Reference in New Issue