gnu: Add blurhash.
* gnu/packages/image.scm (blurhash): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
ed4dd53b1e
commit
f9cc91128b
|
@ -29,6 +29,7 @@
|
||||||
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
||||||
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
||||||
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
|
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||||
|
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -60,6 +61,7 @@
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
|
#:use-module (gnu packages gcc)
|
||||||
#:use-module (gnu packages ghostscript)
|
#:use-module (gnu packages ghostscript)
|
||||||
#:use-module (gnu packages gimp)
|
#:use-module (gnu packages gimp)
|
||||||
#:use-module (gnu packages gl)
|
#:use-module (gnu packages gl)
|
||||||
|
@ -2040,6 +2042,30 @@ SNG is implemented by a compiler/decompiler called sng that
|
||||||
losslessly translates between SNG and PNG.")
|
losslessly translates between SNG and PNG.")
|
||||||
(license license:zlib)))
|
(license license:zlib)))
|
||||||
|
|
||||||
|
(define-public blurhash
|
||||||
|
(package
|
||||||
|
(name "blurhash")
|
||||||
|
(version "0.0.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/Nheko-Reborn/blurhash")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0jy2iigarskwfhskyladbb6l92x1fb3i3vz4bvcks0za4w5hfxk5"))))
|
||||||
|
(build-system meson-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("cmake" ,cmake)
|
||||||
|
("doctest" ,doctest)
|
||||||
|
("gcc" ,gcc-8)))
|
||||||
|
(home-page "https://github.com/Nheko-Reborn/blurhash")
|
||||||
|
(synopsis "C++ blurhash encoder/decoder")
|
||||||
|
(description "Simple encoder and decoder for blurhashes. Contains a
|
||||||
|
command line program as well as a shared library.")
|
||||||
|
(license license:boost1.0)))
|
||||||
|
|
||||||
(define-public lodepng
|
(define-public lodepng
|
||||||
;; There are no tags in the repository, so we take the version as defined in
|
;; There are no tags in the repository, so we take the version as defined in
|
||||||
;; lodepng.cpp.
|
;; lodepng.cpp.
|
||||||
|
|
Reference in New Issue