mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
gnu: image: Add qoi.
* gnu/packages/image.scm (qoi): New variable. Change-Id: Ic08ed3aaf48cc12d9e730373400c22a424d8d0d0 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
0683beac07
commit
2d9c30010f
@@ -2028,6 +2028,34 @@ possible, all formats supported by the PNG standard are represented.")
|
||||
use, copy, modify and distribute these images for any purpose and without fee
|
||||
is hereby granted."))))
|
||||
|
||||
(define-public qoi
|
||||
(let ((commit "6fff9b70dd79b12f808b0acc5cb44fde9998725e")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "qoi")
|
||||
(version (git-version "0.0.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/phoboslab/qoi")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "078zasncyylgnwx6br82nkjssl82wygz6fh8zm65fbfpadzfa3x7"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:install-plan
|
||||
#~'(("qoi.h" "include/"))
|
||||
#:tests? #f)) ;No tests
|
||||
(home-page "https://qoiformat.org")
|
||||
(synopsis "Library for the QOI image format")
|
||||
(description
|
||||
"This package provides a library for the QOI image format, offering
|
||||
fast, lossless image compression.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public libjpeg-turbo
|
||||
(package
|
||||
(name "libjpeg-turbo")
|
||||
|
||||
Reference in New Issue
Block a user