guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: libwebp: Update to 1.0.0.


From: Marius Bakke
Subject: 02/07: gnu: libwebp: Update to 1.0.0.
Date: Mon, 23 Apr 2018 14:06:29 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit b981f77722ed296aa1198a4de61115db7dfc30a1
Author: Marius Bakke <address@hidden>
Date:   Mon Apr 23 01:11:23 2018 +0200

    gnu: libwebp: Update to 1.0.0.
    
    * gnu/packages/image.scm (libwebp): Update to 1.0.0.
    [source]: Change to GIT-FETCH.
    [arguments]: Add 'bootstrap' phase.
---
 gnu/packages/image.scm | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 7ed18cf..bbfd621 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -846,16 +846,18 @@ multi-dimensional image processing.")
 (define-public libwebp
   (package
     (name "libwebp")
-    (version "0.6.1")
+    (version "1.0.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "http://downloads.webmproject.org/releases/webp/libwebp-"; version
-             ".tar.gz"))
+       ;; No tarballs are provided for >0.6.1.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://chromium.googlesource.com/webm/libwebp";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1ayq2zq0zbgf5yizbm32zh7p1vb8kibw74am6am1n5cz5mw3ql06"))))
+         "1w8jzdbr1s4238ygyrlxryycss3f2z6d9amxdq8m82nl3l6skar4"))))
     (build-system gnu-build-system)
     (inputs
      `(("freeglut" ,freeglut)
@@ -863,10 +865,18 @@ multi-dimensional image processing.")
        ("libjpeg" ,libjpeg)
        ("libpng" ,libpng)
        ("libtiff" ,libtiff)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)))
     (arguments
      '(#:configure-flags '("--enable-libwebpmux"
                            "--enable-libwebpdemux"
-                           "--enable-libwebpdecoder")))
+                           "--enable-libwebpdecoder")
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'bootstrap
+                    (lambda _
+                      (invoke "autoreconf" "-vif"))))))
     (home-page "https://developers.google.com/speed/webp/";)
     (synopsis "Lossless and lossy image compression")
     (description



reply via email to

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