guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 14/331: gnu: google-brotli: Update package definition.
Date: Fri, 14 Aug 2020 11:12:37 -0400 (EDT)

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

commit d6d8ca2086a75e7bedd37b1d723e41ca8972f609
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 | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 5ab62e9..5687117 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1852,7 +1852,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")
@@ -1861,19 +1862,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]