guix-commits
[Top][All Lists]
Advanced

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

14/100: gnu: google-brotli: Update package definition.


From: guix-commits
Subject: 14/100: gnu: google-brotli: Update package definition.
Date: Wed, 8 Jul 2020 03:36:35 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 970cd7b69b2ee5b33a71086764241873226281ec
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu May 28 11:36:23 2020 -0400

    gnu: google-brotli: Update package definition.
    
    * gnu/packages/compression.scm (google-brotli): Cosmetic changes.
    [home-page]: Modify.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/compression.scm | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 21b4b92..c684291 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1815,9 +1815,10 @@ non-Windows systems without running the actual installer 
using wine.")
     (source
      (origin
        (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/google/brotli.git";)
-             (commit (string-append "v" version))))
+       (uri
+        (git-reference
+         (url "https://github.com/google/brotli.git";)
+         (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "1811b55wdfg4kbsjcgh1kc938g118jpvif97ilgrmbls25dfpvvw"))))
@@ -1829,7 +1830,8 @@ non-Windows systems without running the actual installer 
using wine.")
            ;; The build tools put a 'static' suffix on the static libraries, 
but
            ;; other applications don't know how to find these.
            (lambda* (#:key outputs #:allow-other-keys)
-             (let ((lib (string-append (assoc-ref %outputs "out") "/lib/")))
+             (let* ((lib (string-append (assoc-ref %outputs "out")
+                                        "/lib/")))
                (rename-file (string-append lib "libbrotlicommon-static.a")
                             (string-append lib "libbrotlicommon.a"))
                (rename-file (string-append lib "libbrotlidec-static.a")
@@ -1838,19 +1840,19 @@ non-Windows systems without running the actual 
installer using wine.")
                             (string-append lib "libbrotlienc.a"))
                #t))))
        #:configure-flags
-       (list ;; Defaults to "lib64" on 64-bit archs.
-             (string-append "-DCMAKE_INSTALL_LIBDIR="
-                            (assoc-ref %outputs "out") "/lib"))))
-    (home-page "https://github.com/google/brotli";)
+       (list
+        ;; Defaults to "lib64" on 64-bit archs.
+        (string-append "-DCMAKE_INSTALL_LIBDIR=" (assoc-ref %outputs "out")
+                       "/lib"))))
     (synopsis "General-purpose lossless compression")
-    (description "This package provides the reference implementation of Brotli,
-a generic-purpose lossless compression algorithm that compresses data using a
+    (description "Google-Brotli is a reference implementation of Brotli, a
+generic-purpose lossless compression algorithm that compresses data using a
 combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd
 order context modeling, with a compression ratio comparable to the best
 currently available general-purpose compression methods.  It is similar in 
speed
-with @code{deflate} but offers more dense compression.
-
-The specification of the Brotli Compressed Data Format is defined in RFC 
7932.")
+with @code{deflate} but offers more dense compression.  The specification of 
the
+Brotli Compressed Data Format is defined in RFC 7932.")
+    (home-page "https://brotli.org/";)
     (license license:expat)))
 
 (define-public brotli



reply via email to

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