diff options
| author | Marius Bakke <mbakke@fastmail.com> | 2019-11-29 23:50:54 +0100 |
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2019-12-05 17:58:59 +0100 |
| commit | ca0576d6998cf954b91e4696f0f2570372ebb6d5 (patch) | |
| tree | a173e33c5c729e795110904be0fb53c7dcea61cc | |
| parent | 0b3df5c913af91bc196bb8cb41783126e55bf5a0 (diff) | |
gnu: zstd: Update to 1.4.4.
* gnu/packages/compression.scm (zstd): Update to 1.4.4.
[arguments]: Adjust pkg-config substitution.
| -rw-r--r-- | gnu/packages/compression.scm | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 89dcc34e219..905931acbd9 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm | |||
| @@ -1394,18 +1394,18 @@ or junctions, and always follows hard links.") | |||
| 1394 | (define-public zstd | 1394 | (define-public zstd |
| 1395 | (package | 1395 | (package |
| 1396 | (name "zstd") | 1396 | (name "zstd") |
| 1397 | (version "1.4.2") | 1397 | (version "1.4.4") |
| 1398 | (source | 1398 | (source |
| 1399 | (origin | 1399 | (origin |
| 1400 | (method url-fetch) | 1400 | (method url-fetch) |
| 1401 | (uri (string-append "https://github.com/facebook/zstd/releases/download/" | 1401 | (uri (string-append "https://github.com/facebook/zstd/releases/download/" |
| 1402 | "v" version "/zstd-" version ".tar.gz")) | 1402 | "v" version "/zstd-" version ".tar.gz")) |
| 1403 | (sha256 | 1403 | (sha256 |
| 1404 | (base32 "1ja3nrjynmiwwdjrf6crraizkbagp7y414bqqq2ady91nn1hjwqj")))) | 1404 | (base32 "05ckxap00qvc0j51d3ci38150cxsw82w7s9zgd5fgzspnzmp1vsr")))) |
| 1405 | (build-system gnu-build-system) | 1405 | (build-system gnu-build-system) |
| 1406 | (outputs '("out" ;1.1MiB executables and documentation | 1406 | (outputs '("out" ;1.2MiB executables and documentation |
| 1407 | "lib" ;1MiB shared library and headers | 1407 | "lib" ;1.2MiB shared library and headers |
| 1408 | "static")) ;1MiB static library | 1408 | "static")) ;1.2MiB static library |
| 1409 | (arguments | 1409 | (arguments |
| 1410 | `(#:phases | 1410 | `(#:phases |
| 1411 | (modify-phases %standard-phases | 1411 | (modify-phases %standard-phases |
| @@ -1425,12 +1425,10 @@ or junctions, and always follows hard links.") | |||
| 1425 | (delete-file ar)) | 1425 | (delete-file ar)) |
| 1426 | (find-files shared-libs "\\.a$")) | 1426 | (find-files shared-libs "\\.a$")) |
| 1427 | 1427 | ||
| 1428 | ;; While here, remove prefix= from the pkg-config file because it | 1428 | ;; Make sure the pkg-config file refers to the right output. |
| 1429 | ;; is unused, and because it contains a needless reference to $out. | ||
| 1430 | ;; XXX: It would be great if #:disallow-references worked between | ||
| 1431 | ;; outputs. | ||
| 1432 | (substitute* (string-append shared-libs "/pkgconfig/libzstd.pc") | 1429 | (substitute* (string-append shared-libs "/pkgconfig/libzstd.pc") |
| 1433 | (("^prefix=.*") "")) | 1430 | (("^prefix=.*") |
| 1431 | (string-append "prefix=" lib "\n"))) | ||
| 1434 | 1432 | ||
| 1435 | #t)))) | 1433 | #t)))) |
| 1436 | #:make-flags | 1434 | #:make-flags |
