[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: Add libwebp.
From: |
Taylan Ulrich B. |
Subject: |
03/08: gnu: Add libwebp. |
Date: |
Sat, 28 Mar 2015 12:26:43 +0000 |
taylanub pushed a commit to branch master
in repository guix.
commit 060ad3def45745e26c4ce75883eb1d3ae22d6839
Author: Taylan Ulrich Bayırlı/Kammer <address@hidden>
Date: Sat Mar 21 19:40:21 2015 +0100
gnu: Add libwebp.
* gnu/packages/image.scm (libwebp): New variable.
---
gnu/packages/image.scm | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 11cb63a..9c7e504 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -29,6 +29,7 @@
#:use-module (gnu packages doxygen)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages ghostscript)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages maths)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -475,3 +476,39 @@ algorithms and data structures. It is particularly strong
for
multi-dimensional image processing.")
(license license:expat)
(home-page "https://hci.iwr.uni-heidelberg.de/vigra")))
+
+(define-public libwebp
+ (package
+ (name "libwebp")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://downloads.webmproject.org/releases/webp/libwebp-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "1i4hfczjm3b1qj1g4cc9hgb69l47f3nkgf6hk7nz4dm9zmc0vgpg"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("freeglut" ,freeglut)
+ ("giflib" ,giflib)
+ ("libjpeg" ,libjpeg)
+ ("libpng" ,libpng)
+ ("libtiff" ,libtiff)))
+ (arguments
+ '(#:configure-flags '("--enable-libwebpmux"
+ "--enable-libwebpdemux"
+ "--enable-libwebpdecoder")))
+ (home-page "https://developers.google.com/speed/webp/")
+ (synopsis "Lossless and lossy image compression")
+ (description
+ "WebP is a new image format that provides lossless and lossy compression
+for images. WebP lossless images are 26% smaller in size compared to
+PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at
+equivalent SSIM index. WebP supports lossless transparency (also known as
+alpha channel) with just 22% additional bytes. Transparency is also supported
+with lossy compression and typically provides 3x smaller file sizes compared
+to PNG when lossy compression is acceptable for the red/green/blue color
+channels.")
+ (license license:bsd-3)))
- branch master updated (122c87e -> 1c1178c), Taylan Ulrich B., 2015/03/28
- 01/08: gnu: Add libva., Taylan Ulrich B., 2015/03/28
- 02/08: gnu: freeglut: Add mesa to propagated inputs., Taylan Ulrich B., 2015/03/28
- 03/08: gnu: Add libwebp.,
Taylan Ulrich B. <=
- 04/08: gnu: Add leptonica., Taylan Ulrich B., 2015/03/28
- 05/08: gnu: Rename (gnu packages ocrad) to (gnu packages ocr)., Taylan Ulrich B., 2015/03/28
- 06/08: gnu: Add tesseract-ocr., Taylan Ulrich B., 2015/03/28
- 07/08: gnu: Add vapoursynth., Taylan Ulrich B., 2015/03/28
- 08/08: gnu: Add mpv., Taylan Ulrich B., 2015/03/28