guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: images: Add jpegoptim 1.4.3


From: Ludovic Courtès
Subject: 01/01: gnu: images: Add jpegoptim 1.4.3
Date: Mon, 16 Nov 2015 09:04:01 +0000

civodul pushed a commit to branch master
in repository guix.

commit fcc43c1f7b998b9ffd2f734a4c99d6e17d7cf102
Author: Amirouche Boubekki <address@hidden>
Date:   Fri Nov 13 15:09:08 2015 +0100

    gnu: images: Add jpegoptim 1.4.3
    
    * gnu/packages/images.scm (jpegoptim): New variable jpegoptim
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/image.scm |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index b7b8eac..1acc5ee 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2014, 2015 Alex Kost <address@hidden>
 ;;; Copyright © 2014 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <address@hidden>
+;;; Copyright © 2015 Amirouche Boubekki <address@hidden>
 ;;; Copyright © 2014 John Darrington <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -119,6 +120,29 @@ image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file 
formats.")
             (sha256 (base32
                      
"1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0"))))))
 
+(define-public jpegoptim
+  (package
+   (name "jpegoptim")
+   (version "1.4.3")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "http://www.kokkonen.net/tjko/src/jpegoptim-";
+                                version ".tar.gz"))
+            (sha256 (base32
+                     "0k53q7dc8w5ashz8v261x2b5vvz7gdvg8w962rz9gjvkjbh4lg93"))))
+   (build-system gnu-build-system)
+   (inputs `(("libjpeg" ,libjpeg)))
+   (arguments
+    ;; no tests
+    '(#:tests? #f))
+   (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+)
+   (home-page "http://www.kokkonen.net/tjko/projects.html#jpegoptim";)))
+
 (define-public libtiff
   (package
    (name "libtiff")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]