diff options
author | Vinicius Monego <monego@posteo.net> | 2021-03-22 01:29:40 -0300 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-03-23 13:26:41 -0400 |
commit | 8fae75a3584c19c9b2c705b49c600c23dccc8799 (patch) | |
tree | c879d388194238961297863c1cf4c90aa66edd09 /gnu | |
parent | e5406632030a6b2f243e2986c0a7cb325468cfc3 (diff) | |
download | guix-8fae75a3584c19c9b2c705b49c600c23dccc8799.tar guix-8fae75a3584c19c9b2c705b49c600c23dccc8799.tar.gz |
gnu: Add libheif.
* gnu/packages/image.scm (libheif): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/image.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 835060c041..d04a247976 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -2164,6 +2164,42 @@ by AOM, including with alpha.") (license (list license:bsd-2 ; libavif itself license:expat)))) ; cJSON in the test suite +(define-public libheif + (package + (name "libheif") + (version "1.11.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/strukturag/libheif") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "036n63vlk4sk7y25q2kzyvvw4r5vv323ysbmbrcaprg9hdyjqgf5")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ;no test target although there is a tests folder + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("dav1d" ,dav1d) + ("gdk-pixbuf" ,gdk-pixbuf) ;optional + ("libaom" ,libaom) + ("libde265" ,libde265) + ("libjpeg" ,libjpeg-turbo) + ("libpng" ,libpng) + ("x265" ,x265))) + (home-page "https://github.com/strukturag/libheif") + (synopsis "HEIF and AVIF file format decoder and encoder") + (description + "@code{libheif} is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File +Format) file format decoder and encoder.") + (license license:lgpl3+))) + (define-public mtpaint (package (name "mtpaint") |