gnu: jpegoptim: Update to 1.5.5.
* gnu/packages/image.scm (jpegoptim): Update to 1.5.5. [arguments]<#:phases>: Remove argument. [native-inputs]: Remove field. [license]: Change to gpl3+. Change-Id: I97fc63e20b5cf88c4ef04c2ea2c4a0888a1d0472 Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
ce7b2b57aa
commit
25b83bd9e4
1 changed files with 4 additions and 22 deletions
|
@ -617,7 +617,7 @@ (define-public libjxr
|
|||
(define-public jpegoptim
|
||||
(package
|
||||
(name "jpegoptim")
|
||||
(version "1.4.7")
|
||||
(version "1.5.5")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -626,35 +626,17 @@ (define-public jpegoptim
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "06f6d08xvmsiki4mc1qs985gsjqmsxx793a93b72y25q84wbg9x9"))))
|
||||
(base32 "18zq7ada7n17vgkkcixpisxsbs7i8xp5qjp78hyyvmmb9dqy97fy"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no tests
|
||||
,@(if (and (target-riscv64?)
|
||||
(%current-target-system))
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'update-config-scripts
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
(for-each (lambda (file)
|
||||
(install-file
|
||||
(search-input-file
|
||||
(or native-inputs inputs)
|
||||
(string-append "/bin/" file)) "./tools"))
|
||||
'("config.guess" "config.sub"))))))
|
||||
'())))
|
||||
(list #:tests? #f))
|
||||
(inputs (list libjpeg-turbo))
|
||||
(native-inputs
|
||||
(if (and (target-riscv64?)
|
||||
(%current-target-system))
|
||||
(list config)
|
||||
'()))
|
||||
(synopsis "Optimize JPEG images")
|
||||
(description
|
||||
"jpegoptim provides lossless optimization (based on optimizing
|
||||
the Huffman tables) and \"lossy\" optimization based on setting
|
||||
maximum quality factor.")
|
||||
(license license:gpl2+)
|
||||
(license license:gpl3+)
|
||||
(home-page "https://www.kokkonen.net/tjko/projects.html#jpegoptim")))
|
||||
|
||||
(define-public libicns
|
||||
|
|
Loading…
Reference in a new issue