gnu: libjpeg-turbo: Update to 1.5.2.
* gnu/packages/image.scm (libjpeg-turbo): Update to 1.5.2. [arguments]<#:phases>: Remove.
This commit is contained in:
parent
e2155f58c0
commit
ed40e7c5eb
|
@ -1086,29 +1086,19 @@ PNG, and performs PNG integrity checks and corrections.")
|
||||||
(define-public libjpeg-turbo
|
(define-public libjpeg-turbo
|
||||||
(package
|
(package
|
||||||
(name "libjpeg-turbo")
|
(name "libjpeg-turbo")
|
||||||
(version "1.5.1")
|
(version "1.5.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/" name "/" version "/"
|
(uri (string-append "mirror://sourceforge/" name "/" version "/"
|
||||||
name "-" version ".tar.gz"))
|
name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0v365hm6z6lddcqagjj15wflk66rqyw75m73cqzl65rh4lyrshj1"))))
|
"0a5m0psfp5952y5vrcs0nbdz1y9wqzg2ms0xwrx752034wxr964h"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("nasm" ,nasm)))
|
`(("nasm" ,nasm)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "test"
|
'(#:test-target "test"))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'set-env-on-MIPS
|
|
||||||
;; This is borrowed from Debian's patchset for libjpeg
|
|
||||||
;; https://sources.debian.net/data/main/libj/libjpeg-turbo/1:1.5.1-2/debian/patches/0001-Declare-env-on-MIPS-on-first-use-Courtesy-of-Aurelie.patch
|
|
||||||
(lambda _
|
|
||||||
(substitute* "simd/jsimd_mips.c"
|
|
||||||
(("env = getenv\\(\"JSIMD_FORCEDSPR2")
|
|
||||||
"char *env = getenv(\"JSIMD_FORCEDSPR2"))
|
|
||||||
#t)))))
|
|
||||||
(home-page "http://www.libjpeg-turbo.org/")
|
(home-page "http://www.libjpeg-turbo.org/")
|
||||||
(synopsis "SIMD-accelerated JPEG image handling library")
|
(synopsis "SIMD-accelerated JPEG image handling library")
|
||||||
(description "libjpeg-turbo is a JPEG image codec that accelerates baseline
|
(description "libjpeg-turbo is a JPEG image codec that accelerates baseline
|
||||||
|
|
Loading…
Reference in New Issue